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

Changeset 233582 in webkit


Ignore:
Timestamp:
Jul 6, 2018, 11:25:59 AM (8 years ago)
Author:
Chris Dumez
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:
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r233578 r233582  
     12018-07-06  Chris Dumez  <cdumez@apple.com>
     2
     3        [iOS] Assertion failure in WebProcessProxy::allProcesses() (isMainThread())
     4        https://bugs.webkit.org/show_bug.cgi?id=187394
     5
     6        Reviewed by Dan Bernstein.
     7
     8        Use RunLoop::isMain() instead of isMainThread() in the assertion to fix issues for
     9        applications using both WebKit and WebKitLegacy.
     10
     11        * UIProcess/WebProcessProxy.cpp:
     12
    1132018-07-06  Daniel Bates  <dabates@apple.com>
    214
  • trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp

    r233122 r233582  
    8383static HashMap<ProcessIdentifier, WebProcessProxy*>& allProcesses()
    8484{
    85     ASSERT(isMainThread());
     85    ASSERT(RunLoop::isMain());
    8686    static NeverDestroyed<HashMap<ProcessIdentifier, WebProcessProxy*>> map;
    8787    return map;
Note: See TracChangeset for help on using the changeset viewer.