Bug 1074415 - Build error in nsNPAPIPluginInstance when enabling PR_LOGGING in non-debug builds. r=johns

This commit is contained in:
Eric Rahm 2014-10-02 11:33:37 -07:00
Родитель addcb0d937
Коммит dbfef86a71
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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);