Bug 737120 - Allow Flash plugin instances to be cleaned up on Android without an object frame present r=blassey

This commit is contained in:
James Willcox 2012-03-19 16:09:49 -04:00
parent 079dc05cf5
commit 8554c40d90

View File

@ -1804,7 +1804,7 @@ bool nsPluginInstanceOwner::AddPluginView(const gfxRect& aRect)
void nsPluginInstanceOwner::RemovePluginView()
{
if (!mInstance || !mObjectFrame)
if (!mInstance)
return;
void* surface = mInstance->GetJavaSurface();