Reviewed by Geoff.
[WebKit-https.git] / WebCore / bindings / js / kjs_window.cpp
index 79412433e8fe5b8ccc277042cacf4abf6e460ee0..800e3c7f55b335edf141fad963d46ef39ac2d9f6 100644 (file)
@@ -202,8 +202,9 @@ const ClassInfo Window::info = { "Window", 0, &WindowTable };
 @end
 */
 
-Window::Window(DOMWindow* window)
-    : m_impl(window)
+Window::Window(DOMWindow* window, JSValue* prototype)
+    : JSGlobalObject(prototype)
+    , m_impl(window)
     , d(new WindowPrivate)
 {
     // Window destruction is not thread-safe because of