PluginQuirks::CanShortCircuitSomeNPRuntimeCallsDuringInitialization is only defined for mac.
Created attachment 94048 [details] Patch
Comment on attachment 94048 [details] Patch Wouldn't it be better to define PluginQuirks::CanShortCircuitSomeNPRuntimeCallsDuringInitialization instead of introducing #ifdefs?
(In reply to comment #2) > (From update of attachment 94048 [details]) > Wouldn't it be better to define PluginQuirks::CanShortCircuitSomeNPRuntimeCallsDuringInitialization instead of introducing #ifdefs? I don't know what that quirk is, that's why I filed the bug instead of just fixing the build.
(In reply to comment #3) > (In reply to comment #2) > > (From update of attachment 94048 [details] [details]) > > Wouldn't it be better to define PluginQuirks::CanShortCircuitSomeNPRuntimeCallsDuringInitialization instead of introducing #ifdefs? > > I don't know what that quirk is, that's why I filed the bug instead of just fixing the build. According to the changelog, the quirk is mac specific * Shared/Plugins/PluginQuirks.h: Add Mac specific CanShortCircuitSomeNPRuntimeCallsDuringInitialization quirk.
(In reply to comment #2) > (From update of attachment 94048 [details]) > Wouldn't it be better to define PluginQuirks::CanShortCircuitSomeNPRuntimeCallsDuringInitialization instead of introducing #ifdefs? I'd really like platform-specific quirks to be #ifdeffed out so we know which platforms they apply to.
Committed r86848: <http://trac.webkit.org/changeset/86848>