From 0cb64d81eba348222f3cc733af342aa3c4f62c3d Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Wed, 15 Jul 2015 17:13:22 -0400 Subject: [PATCH] Bug 1184200 - Update a check for APZ enabled. r=dvander --- layout/base/nsLayoutUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/base/nsLayoutUtils.cpp b/layout/base/nsLayoutUtils.cpp index bf933176b91..5a796b2016b 100644 --- a/layout/base/nsLayoutUtils.cpp +++ b/layout/base/nsLayoutUtils.cpp @@ -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; }