зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1172224 - Ensure that docshells return an appropriate value for APZ-enabled even if they don't have a presShell. r=dvander
This commit is contained in:
Родитель
7eb8c4268d
Коммит
983c6000d6
|
@ -13867,7 +13867,9 @@ nsDocShell::GetAsyncPanZoomEnabled(bool* aOut)
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
*aOut = false;
|
// If we don't have a presShell, fall back to the default platform value of
|
||||||
|
// whether or not APZ is enabled.
|
||||||
|
*aOut = gfxPlatform::AsyncPanZoomEnabled();
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче