64-bit Mac OS X bustage fix. b=555274

This commit is contained in:
Josh Aas 2010-04-14 19:33:50 -04:00
parent 28b981e9cc
commit 8a361cc9d3

View File

@ -64,6 +64,7 @@ pluginInstanceInit(InstanceData* instanceData)
return NPERR_INCOMPATIBLE_VERSION_ERROR;
}
#ifndef NP_NO_CARBON
// The test plugin will test using Carbon NPAPI if it is available. This
// is simply because we want to test Gecko's Carbon NPAPI support. You can
// override this behavior with an environment variable.
@ -74,6 +75,7 @@ pluginInstanceInit(InstanceData* instanceData)
sCurrentEventModel = NPEventModelCarbon;
}
}
#endif
if (sCurrentEventModel == NPEventModelCocoa) {
NPBool supportsCocoaEvents = false;