⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 242728 in webkit


Ignore:
Timestamp:
Mar 11, 2019, 12:51:25 PM (7 years ago)
Author:
Chris Dumez
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):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r242726 r242728  
     12019-03-11  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed, fix assertions in layout tests on iOS Simulator after r242666.
     4
     5        Log an error but do not crash if we fail to acquire a ProcessAssertion.
     6
     7        * UIProcess/ios/ProcessAssertionIOS.mm:
     8        (WebKit::ProcessAssertion::ProcessAssertion):
     9
    1102019-03-11  Chris Dumez  <cdumez@apple.com>
    211
  • trunk/Source/WebKit/UIProcess/ios/ProcessAssertionIOS.mm

    r242666 r242728  
    166166        if (!acquired) {
    167167            RELEASE_LOG_ERROR(ProcessSuspension, " %p - ProcessAssertion() PID %d Unable to acquire assertion for process with PID %d", this, getpid(), pid);
    168             ASSERT_NOT_REACHED();
    169168            dispatch_async(dispatch_get_main_queue(), ^{
    170169                if (weakThis)
Note: See TracChangeset for help on using the changeset viewer.