Add some thread safety guards to GenericCallback A callback should be created, performed, invalidated, and/or destroyed all on the same thread. Let's write code to notify us if that doesn't happen.
Created attachment 313585 [details] Patch
(I haven't even compiled yet, justing throwing this at EWS for now)
Comment on attachment 313585 [details] Patch Clearing flags on attachment: 313585 Committed r218705: <http://trac.webkit.org/changeset/218705>
All reviewed patches have been landed. Closing bug.
Comment on attachment 313585 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=313585&action=review > Source/WebKit2/UIProcess/GenericCallback.h:153 > +#ifndef NDEBUG This should be #if !ASSERT_DISABLED instead.