WebCore: Try to fix V8 build.
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Dec 2010 17:52:23 +0000 (17:52 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Dec 2010 17:52:23 +0000 (17:52 +0000)
* bindings/generic/BindingDOMWindow.h:
(WebCore::BindingDOMWindow::createWindow): Pass security origin.

WebKit2: Get a bit closer to making Qt WebKit2 compile again.

* WebKit2.pro: Add the WebDatabaseManager source files.
Still missing: The Qt version of the databaseDirectory function.

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

WebCore/ChangeLog
WebCore/bindings/generic/BindingDOMWindow.h
WebKit2/ChangeLog
WebKit2/WebKit2.pro

index 6ec1fcb..3b5ee2c 100644 (file)
@@ -1,5 +1,12 @@
 2010-12-07  Darin Adler  <darin@apple.com>
 
+        Try to fix V8 build.
+
+        * bindings/generic/BindingDOMWindow.h:
+        (WebCore::BindingDOMWindow::createWindow): Pass security origin.
+
+2010-12-07  Darin Adler  <darin@apple.com>
+
         Another build fix.
 
         * loader/CrossOriginAccessControl.cpp: Added a missing include.
index 26c2f4d..34e0177 100644 (file)
@@ -93,7 +93,7 @@ Frame* BindingDOMWindow<Binding>::createWindow(State<Binding>* state,
     String referrer = enteredFrame->loader()->outgoingReferrer();
     request.setHTTPReferrer(referrer);
     FrameLoader::addHTTPOriginIfNeeded(request, enteredFrame->loader()->outgoingOrigin());
-    FrameLoadRequest frameRequest(request, frameName);
+    FrameLoadRequest frameRequest(callingFrame->document()->securityOrigin(), request, frameName);
 
     // FIXME: It's much better for client API if a new window starts with a URL,
     // here where we know what URL we are going to open. Unfortunately, this
index b6de3a2..bc1206b 100644 (file)
@@ -1,3 +1,10 @@
+2010-12-07  Darin Adler  <darin@apple.com>
+
+        Get a bit closer to making Qt WebKit2 compile again.
+
+        * WebKit2.pro: Add the WebDatabaseManager source files.
+        Still missing: The Qt version of the databaseDirectory function.
+
 2010-12-07  Jessie Berlin  <jberlin@apple.com>
 
         Reviewed by Darin Adler.
index 0baec05..dd462c4 100644 (file)
@@ -378,6 +378,7 @@ HEADERS += \
     WebProcess/Plugins/PluginView.h \
     WebProcess/WebCoreSupport/WebChromeClient.h \
     WebProcess/WebCoreSupport/WebContextMenuClient.h \
+    WebProcess/WebCoreSupport/WebDatabaseManager.h \
     WebProcess/WebCoreSupport/WebDragClient.h \
     WebProcess/WebCoreSupport/WebEditorClient.h \
     WebProcess/WebCoreSupport/WebErrors.h \
@@ -579,6 +580,7 @@ SOURCES += \
     WebProcess/Plugins/PluginView.cpp \
     WebProcess/WebCoreSupport/WebChromeClient.cpp \
     WebProcess/WebCoreSupport/WebContextMenuClient.cpp \
+    WebProcess/WebCoreSupport/WebDatabaseManager.cpp \
     WebProcess/WebCoreSupport/WebDragClient.cpp \
     WebProcess/WebCoreSupport/WebEditorClient.cpp \
     WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp \