Reviewed by Darin.
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Nov 2006 00:56:34 +0000 (00:56 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Nov 2006 00:56:34 +0000 (00:56 +0000)
        Accidentally rolled out this change when removing the WebPageBridge. Now
        putting it back.

        * WebView/WebView.mm:
        (-[WebView _commonInitializationWithFrameName:groupName:]):

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

WebKit/ChangeLog
WebKit/WebView/WebView.mm

index 2fc45fd1a0bb90992d73322912003c2c80cd1d2e..68f3d1ef726d31a624231f6702c699a67a966c60 100644 (file)
@@ -1,3 +1,13 @@
+2006-11-06  Geoffrey Garen  <ggaren@apple.com>
+
+        Reviewed by Darin.
+        
+        Accidentally rolled out this change when removing the WebPageBridge. Now
+        putting it back.
+
+        * WebView/WebView.mm:
+        (-[WebView _commonInitializationWithFrameName:groupName:]):
+
 2006-11-05  Geoffrey Garen  <ggaren@apple.com>
 
         Reviewed by Maciej, Darin, Anders.
index ecb996200c4fa83694a96ca0b574999ebeedd52f..ac1e64cc3279197d48d896000d75291da9b25597 100644 (file)
@@ -1815,9 +1815,7 @@ NSMutableDictionary *countInvocations;
     WebCore::InitializeLoggingChannelsIfNecessary();
 
     _private->page = new Page(WebChromeClient::create(self), WebScreenClient::create(self));
-    WebFrameBridge *mainFrame = [[WebFrameBridge alloc] initMainFrameWithPage:_private->page frameName:frameName view:frameView webView:self];
-    _private->page->setMainFrame(adoptRef([mainFrame _frame]));
-    [mainFrame release];
+    [[[WebFrameBridge alloc] initMainFrameWithPage:_private->page frameName:frameName view:frameView webView:self] release];
 
     [self _addToAllWebViewsSet];
     [self setGroupName:groupName];