mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Bug 968193 - flash-plugin freezes when window allocation size is 0x0. r=karlt
This commit is contained in:
parent
a9545a3f91
commit
99426c35f3
@ -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 &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user