Added explicit "friend class", because GCC 4.6 doesn't support extended friend declaration (c++11)
Created attachment 215382 [details]
Comment on attachment 215382 [details]
Attachment 215382 [details] did not pass win-ews (win):
Created attachment 215387 [details]
with speculative fix for Windows EWS
Created attachment 215390 [details]
one more attempt to make MSVC happy
Comment on attachment 215387 [details]
Attachment 215387 [details] did not pass win-ews (win):
It seems it is a crazy MSVC bug, see https://bugs.webkit.org/show_bug.cgi?id=121883#c26 for details.
Could making the ScopedEventQueue destructor public help?
Hehe, we got it:
friend class WTF::NeverDestroyed<WebCore::ScopedEventQueue>;
*** Bug 123733 has been marked as a duplicate of this bug. ***
Committed r158566: <http://trac.webkit.org/changeset/158566>