Backed out changeset 7df3361227bf (bug 1267999) for bustage in AsyncPanZoomController.cpp:3359:63
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Tue, 31 May 2016 16:27:42 +0200
changeset 333188 34b32f5cb229db6eafbdaa653d079be1a6ca007e
parent 333187 3ddc3cdbc52d1335b68d9894fba2bfe857d92883
child 333189 c376a953a79220ff0d026583dd3a3dbb7b77b999
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1267999
milestone48.0a2
backs out7df3361227bfa579a8703712288f7b5c83ed8992
Backed out changeset 7df3361227bf (bug 1267999) for bustage in AsyncPanZoomController.cpp:3359:63
gfx/layers/apz/src/AsyncPanZoomController.cpp
--- a/gfx/layers/apz/src/AsyncPanZoomController.cpp
+++ b/gfx/layers/apz/src/AsyncPanZoomController.cpp
@@ -3351,17 +3351,17 @@ AsyncPanZoomController::ReportCheckerboa
     }
     mCheckerboardEvent = nullptr;
   }
 }
 
 bool AsyncPanZoomController::IsCurrentlyCheckerboarding() const {
   ReentrantMonitorAutoEnter lock(mMonitor);
 
-  if (!gfxPrefs::APZAllowCheckerboarding() || mScrollMetadata.IsApzForceDisabled()) {
+  if (!gfxPrefs::APZAllowCheckerboarding()) {
     return false;
   }
 
   CSSPoint currentScrollOffset = mFrameMetrics.GetScrollOffset() + mTestAsyncScrollOffset;
   CSSRect painted = mLastContentPaintMetrics.GetDisplayPort() + mLastContentPaintMetrics.GetScrollOffset();
   painted.Inflate(CSSMargin::FromAppUnits(nsMargin(1, 1, 1, 1)));   // fuzz for rounding error
   CSSRect visible = CSSRect(currentScrollOffset, mFrameMetrics.CalculateCompositedSizeInCssPixels());
   if (painted.Contains(visible)) {