Bug 173904

Summary: Avoid double thread dispatch in WebsiteDataStore::fetchDataForTopPrivatelyControlledDomains()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, bfulgham, commit-queue, darin, ggaren, wilander
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=173882
Attachments:
Description Flags
Patch none

Description Chris Dumez 2017-06-27 21:14:46 PDT
Avoid double thread dispatch in WebsiteDataStore::fetchDataForTopPrivatelyControlledDomains(). It calls fetchData() which dispatches to the main queue, then fetchDataForTopPrivatelyControlledDomains() dispatches to the background queue. It should be possible to get fetchData() to dispatch directly on the right queue.
Comment 1 Chris Dumez 2017-06-27 21:17:12 PDT
Created attachment 313984 [details]
Patch
Comment 2 Brent Fulgham 2017-06-28 00:06:22 PDT
Comment on attachment 313984 [details]
Patch

R=me
Comment 3 WebKit Commit Bot 2017-06-28 00:34:45 PDT
Comment on attachment 313984 [details]
Patch

Clearing flags on attachment: 313984

Committed r218871: <http://trac.webkit.org/changeset/218871>
Comment 4 WebKit Commit Bot 2017-06-28 00:34:46 PDT
All reviewed patches have been landed.  Closing bug.