[iOS] Remove duplicate call to RunLoop::initializeMainRunLoop
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Feb 2014 00:28:41 +0000 (00:28 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Feb 2014 00:28:41 +0000 (00:28 +0000)
https://bugs.webkit.org/show_bug.cgi?id=128328

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-02-06
Reviewed by Dan Bernstein.

* UIProcess/API/ios/WKContentView.mm:
(-[WKContentView initWithFrame:configuration:]):
(-[WKContentView _commonInitializationWithContextRef:pageGroupRef:relatedToPage:]):

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/ios/WKContentView.mm

index ee2f21e..3740298 100644 (file)
@@ -1,5 +1,16 @@
 2014-02-06  Joseph Pecoraro  <pecoraro@apple.com>
 
+        [iOS] Remove duplicate call to RunLoop::initializeMainRunLoop
+        https://bugs.webkit.org/show_bug.cgi?id=128328
+
+        Reviewed by Dan Bernstein.
+
+        * UIProcess/API/ios/WKContentView.mm:
+        (-[WKContentView initWithFrame:configuration:]):
+        (-[WKContentView _commonInitializationWithContextRef:pageGroupRef:relatedToPage:]):
+
+2014-02-06  Joseph Pecoraro  <pecoraro@apple.com>
+
         [iOS] Set UIProcess pid in WebProcess initialization for Remote Inspector
         https://bugs.webkit.org/show_bug.cgi?id=128338
 
index b679548..dfee8ac 100644 (file)
@@ -96,7 +96,6 @@ using namespace WebKit;
         return nil;
 
     InitializeWebKit2();
-    RunLoop::initializeMainRunLoop();
 
     _pageClient = std::make_unique<PageClientImpl>(self);
 
@@ -254,7 +253,6 @@ using namespace WebKit;
 - (void)_commonInitializationWithContextRef:(WKContextRef)contextRef pageGroupRef:(WKPageGroupRef)pageGroupRef relatedToPage:(WKPageRef)relatedPage
 {
     InitializeWebKit2();
-    RunLoop::initializeMainRunLoop();
 
     _pageClient = std::make_unique<PageClientImpl>(self);
     _page = toImpl(contextRef)->createWebPage(*_pageClient, toImpl(pageGroupRef), toImpl(relatedPage));