mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 530652 - Some sites not render flash. r=karlt
--HG-- extra : rebase_source : f0078705705e960fe148fd9d64847c38ff58a656
This commit is contained in:
parent
bf757be9e5
commit
387eed8493
@ -4805,6 +4805,7 @@ void nsPluginInstanceOwner::Paint(gfxContext* aContext,
|
||||
gfxMatrix matrix = aContext->CurrentMatrix();
|
||||
if (!matrix.HasNonAxisAlignedTransform())
|
||||
NativeImageDraw();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -5780,6 +5781,15 @@ nsPluginInstanceOwner::SetAbsoluteScreenPosition(nsIDOMElement* element,
|
||||
mBlitParentElement = element;
|
||||
|
||||
UpdateVisibility();
|
||||
|
||||
if (!mInstance)
|
||||
return NS_OK;
|
||||
|
||||
PRBool simpleImageRender = PR_FALSE;
|
||||
mInstance->GetValueFromPlugin(NPPVpluginWindowlessLocalBool,
|
||||
&simpleImageRender);
|
||||
if (mInstance)
|
||||
NativeImageDraw();
|
||||
return NS_OK;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user