RESOLVED FIXED 173753
ResourceLoadStatisticsStore should be ThreadSafeRefCounted
https://bugs.webkit.org/show_bug.cgi?id=173753
Summary ResourceLoadStatisticsStore should be ThreadSafeRefCounted
Chris Dumez
Reported 2017-06-22 19:14:57 PDT
ResourceLoadStatisticsStore should be ThreadSafeRefCounted given code like this: void ResourceLoadStatisticsStore::fireDataModificationHandler() { ASSERT(!isMainThread()); RunLoop::main().dispatch([this, protectedThis = makeRef(*this)] () { if (m_dataAddedHandler) m_dataAddedHandler(); }); }
Attachments
Patch (1.45 KB, patch)
2017-06-22 19:17 PDT, Chris Dumez
no flags
Radar WebKit Bug Importer
Comment 1 2017-06-22 19:16:46 PDT
Chris Dumez
Comment 2 2017-06-22 19:17:50 PDT
WebKit Commit Bot
Comment 3 2017-06-22 19:58:06 PDT
Comment on attachment 313685 [details] Patch Clearing flags on attachment: 313685 Committed r218734: <http://trac.webkit.org/changeset/218734>
WebKit Commit Bot
Comment 4 2017-06-22 19:58:08 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.