mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 556487 - Disable layers for non-ipc usage. r=roc a=blocking2.0
This commit is contained in:
parent
0bd5de10b8
commit
d0a0315771
@ -2821,6 +2821,10 @@ nsPluginInstanceOwner::SetInstance(nsIPluginInstance *aInstance)
|
||||
NS_ASSERTION(!mInstance || !aInstance, "mInstance should only be set once!");
|
||||
|
||||
mInstance = aInstance;
|
||||
PRBool useAsyncPainting = PR_FALSE;
|
||||
if (mInstance &&
|
||||
NS_SUCCEEDED(mInstance->UseAsyncPainting(&useAsyncPainting)))
|
||||
mUsePluginLayers = useAsyncPainting;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user