Bug 968193 - flash-plugin freezes when window allocation size is 0x0. r=karlt

This commit is contained in:
Martin Stransky 2014-02-11 09:22:45 -05:00
parent a9545a3f91
commit 99426c35f3

View File

@ -562,7 +562,7 @@ nsresult nsNPAPIPluginInstance::SetWindow(NPWindow* window)
if (!window || RUNNING != mRunning)
return NS_OK;
#if (MOZ_WIDGET_GTK == 2)
#if MOZ_WIDGET_GTK
// bug 108347, flash plugin on linux doesn't like window->width <=
// 0, but Java needs wants this call.
if (!nsPluginHost::IsJavaMIMEType(mMIMEType) && window->type == NPWindowTypeWindow &&