WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-06-22 19:16:46 PDT
<
rdar://problem/32939326
>
Chris Dumez
Comment 2
2017-06-22 19:17:50 PDT
Created
attachment 313685
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug