Bug 1184200 - Update a check for APZ enabled. r=dvander

This commit is contained in:
Kartikaya Gupta 2015-07-15 17:13:22 -04:00
parent e9fec912aa
commit 0cb64d81eb

View File

@ -824,7 +824,7 @@ nsLayoutUtils::AsyncPanZoomEnabled(nsIFrame* aFrame)
{
// We use this as a shortcut, since if the compositor will never use APZ,
// no widget will either.
if (!gfxPrefs::AsyncPanZoomEnabledDoNotUseDirectly()) {
if (!gfxPlatform::AsyncPanZoomEnabled()) {
return false;
}