зеркало из https://github.com/mozilla/gecko-dev.git
Bug 599704 - mozilla.plugins.use_layers - does not have any effect. r=roc a=beta7
This commit is contained in:
Родитель
37c7622be4
Коммит
8dbc102a0e
|
@ -2881,8 +2881,10 @@ nsPluginInstanceOwner::SetInstance(nsIPluginInstance *aInstance)
|
|||
mInstance = aInstance;
|
||||
PRBool useAsyncPainting = PR_FALSE;
|
||||
if (mInstance &&
|
||||
NS_SUCCEEDED(mInstance->UseAsyncPainting(&useAsyncPainting)))
|
||||
mUsePluginLayers = useAsyncPainting;
|
||||
mUsePluginLayers &&
|
||||
NS_SUCCEEDED(mInstance->UseAsyncPainting(&useAsyncPainting)) &&
|
||||
!useAsyncPainting)
|
||||
mUsePluginLayers = PR_FALSE;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче