зеркало из https://github.com/mozilla/pjs.git
Bug 599704 - mozilla.plugins.use_layers - does not have any effect. r=roc a=beta7
This commit is contained in:
Родитель
9b5c566ac1
Коммит
76d0ad6a14
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче