Bug 183988

Summary: Introduce a ThreadSafeRefCounted parameter to ensure being destroyed on the main thread
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebCore Misc.Assignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, darin, eric.carlson, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=181180
Attachments:
Description Flags
Patch
none
build fix none

Description youenn fablet 2018-03-24 17:13:35 PDT
Some objects can be accessed from background threads but need to be destroyed on the main thread.
Comment 1 youenn fablet 2018-03-24 17:18:57 PDT
Created attachment 336487 [details]
Patch
Comment 2 youenn fablet 2018-03-25 11:32:16 PDT
Created attachment 336496 [details]
build fix
Comment 3 Darin Adler 2018-04-04 09:08:28 PDT
Comment on attachment 336496 [details]
build fix

Looks like a good solution. A bit awkward syntax at the use, but better than the code it’s replacing
Comment 4 WebKit Commit Bot 2018-04-04 09:40:13 PDT
Comment on attachment 336496 [details]
build fix

Clearing flags on attachment: 336496

Committed r230259: <https://trac.webkit.org/changeset/230259>
Comment 5 WebKit Commit Bot 2018-04-04 09:40:14 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2018-04-04 09:41:31 PDT
<rdar://problem/39177013>