Title: [211890] trunk/Source/WebCore
Revision
211890
Author
[email protected]
Date
2017-02-08 12:04:02 -0800 (Wed, 08 Feb 2017)

Log Message

Initialize the main RunLoop in iOS WebKitLegacy
https://bugs.webkit.org/show_bug.cgi?id=167953

Patch by Joseph Pecoraro <[email protected]> on 2017-02-08
Reviewed by Alexey Proskuryakov.

* platform/ios/wak/WebCoreThread.mm:
(StartWebThread):
Initialize the main runloop on the main thread during iOS WebKit initialization.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (211889 => 211890)


--- trunk/Source/WebCore/ChangeLog	2017-02-08 19:42:49 UTC (rev 211889)
+++ trunk/Source/WebCore/ChangeLog	2017-02-08 20:04:02 UTC (rev 211890)
@@ -1,3 +1,14 @@
+2017-02-08  Joseph Pecoraro  <[email protected]>
+
+        Initialize the main RunLoop in iOS WebKitLegacy
+        https://bugs.webkit.org/show_bug.cgi?id=167953
+
+        Reviewed by Alexey Proskuryakov.
+
+        * platform/ios/wak/WebCoreThread.mm:
+        (StartWebThread):
+        Initialize the main runloop on the main thread during iOS WebKit initialization.
+
 2017-02-08  Aakash Jain  <[email protected]>
 
         Move private methods from WKContentObservation.h to a separate header file

Modified: trunk/Source/WebCore/platform/ios/wak/WebCoreThread.mm (211889 => 211890)


--- trunk/Source/WebCore/platform/ios/wak/WebCoreThread.mm	2017-02-08 19:42:49 UTC (rev 211889)
+++ trunk/Source/WebCore/platform/ios/wak/WebCoreThread.mm	2017-02-08 20:04:02 UTC (rev 211890)
@@ -42,6 +42,7 @@
 #import <runtime/JSLock.h>
 #import <wtf/Assertions.h>
 #import <wtf/MainThread.h>
+#import <wtf/RunLoop.h>
 #import <wtf/Threading.h>
 #import <wtf/text/AtomicString.h>
 
@@ -711,6 +712,8 @@
     // Initialize AtomicString on the main thread.
     WTF::AtomicString::init();
 
+    RunLoop::initializeMainRunLoop();
+
     // register class for WebThread deallocation
     WebCoreObjCDeallocOnWebThread([WAKWindow class]);
     WebCoreObjCDeallocWithWebThreadLock([WAKView class]);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to