Title: [233582] trunk/Source/WebKit
Revision
233582
Author
[email protected]
Date
2018-07-06 11:25:59 -0700 (Fri, 06 Jul 2018)

Log Message

[iOS] Assertion failure in WebProcessProxy::allProcesses() (isMainThread())
https://bugs.webkit.org/show_bug.cgi?id=187394

Reviewed by Dan Bernstein.

Use RunLoop::isMain() instead of isMainThread() in the assertion to fix issues for
applications using both WebKit and WebKitLegacy.

* UIProcess/WebProcessProxy.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (233581 => 233582)


--- trunk/Source/WebKit/ChangeLog	2018-07-06 17:44:35 UTC (rev 233581)
+++ trunk/Source/WebKit/ChangeLog	2018-07-06 18:25:59 UTC (rev 233582)
@@ -1,3 +1,15 @@
+2018-07-06  Chris Dumez  <[email protected]>
+
+        [iOS] Assertion failure in WebProcessProxy::allProcesses() (isMainThread())
+        https://bugs.webkit.org/show_bug.cgi?id=187394
+
+        Reviewed by Dan Bernstein.
+
+        Use RunLoop::isMain() instead of isMainThread() in the assertion to fix issues for
+        applications using both WebKit and WebKitLegacy.
+
+        * UIProcess/WebProcessProxy.cpp:
+
 2018-07-06  Daniel Bates  <[email protected]>
 
         Remove Strong Confirmation Password button

Modified: trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp (233581 => 233582)


--- trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp	2018-07-06 17:44:35 UTC (rev 233581)
+++ trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp	2018-07-06 18:25:59 UTC (rev 233582)
@@ -82,7 +82,7 @@
 
 static HashMap<ProcessIdentifier, WebProcessProxy*>& allProcesses()
 {
-    ASSERT(isMainThread());
+    ASSERT(RunLoop::isMain());
     static NeverDestroyed<HashMap<ProcessIdentifier, WebProcessProxy*>> map;
     return map;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to