2006-10-31 Nikolas Zimmermann <zimmermann@kde.org>
authorbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Oct 2006 12:36:32 +0000 (12:36 +0000)
committerbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Oct 2006 12:36:32 +0000 (12:36 +0000)
        Reviewed by Mitz.

        Fix Qt/Linux build with older gcc3.3.4.

        * bindings/js/kjs_window.cpp:
        (KJS::WindowFunc::callAsFunction):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17475 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/bindings/js/kjs_window.cpp

index 7df04d8f0ccb3438412b8a2588b323e618362c5f..2c30f3822237ec5a717829a9380128416f4d0663 100644 (file)
@@ -1,3 +1,12 @@
+2006-10-31  Nikolas Zimmermann <zimmermann@kde.org>
+
+        Reviewed by Mitz.
+
+        Fix Qt/Linux build with older gcc3.3.4.
+
+        * bindings/js/kjs_window.cpp:
+        (KJS::WindowFunc::callAsFunction):
+
 2006-10-31  Zack Rusin  <zack@kde.org>
 
         Reviewed by Mitz.
index 11d076f7ae449864277c78d9b8dbcffaea543dfc..a3a733b950e09e7a33dbb856b51fe3f98f38df71 100644 (file)
@@ -1574,7 +1574,8 @@ JSValue *WindowFunc::callAsFunction(ExecState *exec, JSObject *thisObj, const Li
       if (!str.isEmpty() && activeFrame)
           url = activeFrame->document()->completeURL(str.deprecatedString());
 
-      FrameLoadRequest frameRequest(ResourceRequest(url), frameName);
+      ResourceRequest resRequest(url);
+      FrameLoadRequest frameRequest(resRequest, frameName);
       if (frameRequest.frameName() == "_top") {
           while (frame->tree()->parent())
               frame = frame->tree()->parent();