mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 1074415 - Build error in nsNPAPIPluginInstance when enabling PR_LOGGING in non-debug builds. r=johns
This commit is contained in:
parent
addcb0d937
commit
dbfef86a71
@ -558,7 +558,11 @@ nsresult nsNPAPIPluginInstance::SetWindow(NPWindow* window)
|
||||
|
||||
NPPAutoPusher nppPusher(&mNPP);
|
||||
|
||||
#ifndef PR_LOGGING
|
||||
DebugOnly<NPError> error;
|
||||
#else
|
||||
NPError error;
|
||||
#endif
|
||||
NS_TRY_SAFE_CALL_RETURN(error, (*pluginFunctions->setwindow)(&mNPP, (NPWindow*)window), this,
|
||||
NS_PLUGIN_CALL_UNSAFE_TO_REENTER_GECKO);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user