Title: [242728] trunk/Source/WebKit
Revision
242728
Author
[email protected]
Date
2019-03-11 12:51:25 -0700 (Mon, 11 Mar 2019)

Log Message

Unreviewed, fix assertions in layout tests on iOS Simulator after r242666.

Log an error but do not crash if we fail to acquire a ProcessAssertion.

* UIProcess/ios/ProcessAssertionIOS.mm:
(WebKit::ProcessAssertion::ProcessAssertion):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (242727 => 242728)


--- trunk/Source/WebKit/ChangeLog	2019-03-11 19:38:04 UTC (rev 242727)
+++ trunk/Source/WebKit/ChangeLog	2019-03-11 19:51:25 UTC (rev 242728)
@@ -1,5 +1,14 @@
 2019-03-11  Chris Dumez  <[email protected]>
 
+        Unreviewed, fix assertions in layout tests on iOS Simulator after r242666.
+
+        Log an error but do not crash if we fail to acquire a ProcessAssertion.
+
+        * UIProcess/ios/ProcessAssertionIOS.mm:
+        (WebKit::ProcessAssertion::ProcessAssertion):
+
+2019-03-11  Chris Dumez  <[email protected]>
+
         WebProcessCache should keep track of processes being added
         https://bugs.webkit.org/show_bug.cgi?id=195538
 

Modified: trunk/Source/WebKit/UIProcess/ios/ProcessAssertionIOS.mm (242727 => 242728)


--- trunk/Source/WebKit/UIProcess/ios/ProcessAssertionIOS.mm	2019-03-11 19:38:04 UTC (rev 242727)
+++ trunk/Source/WebKit/UIProcess/ios/ProcessAssertionIOS.mm	2019-03-11 19:51:25 UTC (rev 242728)
@@ -165,7 +165,6 @@
     BKSProcessAssertionAcquisitionHandler handler = ^(BOOL acquired) {
         if (!acquired) {
             RELEASE_LOG_ERROR(ProcessSuspension, " %p - ProcessAssertion() PID %d Unable to acquire assertion for process with PID %d", this, getpid(), pid);
-            ASSERT_NOT_REACHED();
             dispatch_async(dispatch_get_main_queue(), ^{
                 if (weakThis)
                     processAssertionWasInvalidated();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to