We shouldn't use "AllowCrossThreadAccess" in ThreadableWebSocketChannelClientWrapper. Here's why: 1. It was added to highlight the places where we were not doing anything to help with lifetime of the object being passed. 2. At the time it was added, ThreadSafeRefCounted* objects passed through createCallbackTask did not have the ref count increased, so AllowCrossThreadAccess needed to be added here. 3. ThreadableWebSocketChannelClientWrapper is designed to be ref counted across threads -- largely to make sure that its lifetime is preserved by this call. This issue is derived from a review in https://bugs.webkit.org/show_bug.cgi?id=73290
Created attachment 117013 [details] Patch
Comment on attachment 117013 [details] Patch Thanks!
Thank YOU, too for good advice :-)
Comment on attachment 117013 [details] Patch Clearing flags on attachment: 117013 Committed r101583: <http://trac.webkit.org/changeset/101583>
All reviewed patches have been landed. Closing bug.