2007-10-20 Rodney Dawes <dobey@wayofthemonkey.com>
[WebKit-https.git] / WebCore / bindings / js / JSHTMLDocumentCustom.cpp
index c3725ca..f696023 100644 (file)
@@ -64,7 +64,7 @@ JSValue* JSHTMLDocument::nameGetter(ExecState* exec, JSObject* originalObject, c
 
         Frame* frame;
         if (node->hasTagName(iframeTag) && (frame = static_cast<HTMLIFrameElement*>(node)->contentFrame()))
-            return Window::retrieve(frame);
+            return KJS::Window::retrieve(frame);
 
         return toJS(exec, node);
     } 
@@ -97,7 +97,7 @@ JSValue* JSHTMLDocument::open(ExecState* exec, const List& args)
     if (args.size() > 2) {
         Frame* frame = static_cast<HTMLDocument*>(impl())->frame();
         if (frame) {
-            Window* window = Window::retrieveWindow(frame);
+            KJS::Window* window = KJS::Window::retrieveWindow(frame);
             if (window) {
                 JSObject* functionObject = window->get(exec, "open")->getObject();
                 if (!functionObject || !functionObject->implementsCall())