Changeset 226083 in webkit


Ignore:
Timestamp:
Dec 18, 2017 4:14:24 PM (6 years ago)
Author:
beidson@apple.com
Message:

Apps that use both WK1 and WK2 can crash creating a WKWebsiteDataStore.
https://bugs.webkit.org/show_bug.cgi?id=180953

Reviewed by Chris Dumez.

  • UIProcess/WebsiteData/WebsiteDataStore.cpp: Make an isMainThread() asset be an isUIThread() assert.
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r226072 r226083  
     12017-12-18  Brady Eidson  <beidson@apple.com>
     2
     3        Apps that use both WK1 and WK2 can crash creating a WKWebsiteDataStore.
     4        https://bugs.webkit.org/show_bug.cgi?id=180953
     5
     6        Reviewed by Chris Dumez.
     7
     8        * UIProcess/WebsiteData/WebsiteDataStore.cpp: Make an isMainThread() asset be an isUIThread() assert.
     9
    1102017-12-18  Brent Fulgham  <bfulgham@apple.com>
    211
  • trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp

    r226016 r226083  
    5858static HashMap<PAL::SessionID, WebsiteDataStore*>& nonDefaultDataStores()
    5959{
    60     RELEASE_ASSERT(isMainThread());
     60    RELEASE_ASSERT(isUIThread());
    6161    static NeverDestroyed<HashMap<PAL::SessionID, WebsiteDataStore*>> map;
    6262    return map;
Note: See TracChangeset for help on using the changeset viewer.