diff --git a/gfx/layers/apz/src/APZSampler.cpp b/gfx/layers/apz/src/APZSampler.cpp index be76477d5361..46083a531075 100644 --- a/gfx/layers/apz/src/APZSampler.cpp +++ b/gfx/layers/apz/src/APZSampler.cpp @@ -207,7 +207,7 @@ APZSampler::HasUnusedAsyncTransform(const LayerMetricsWrapper& aLayer) AsyncPanZoomController* apzc = aLayer.GetApzc(); return apzc && !apzc->GetAsyncTransformAppliedToContent() - && !AsyncTransformComponentMatrix(apzc->GetCurrentAsyncTransform(AsyncPanZoomController::eForHitTesting)).IsIdentity(); + && !AsyncTransformComponentMatrix(apzc->GetCurrentAsyncTransform(AsyncPanZoomController::eForCompositing)).IsIdentity(); } } // namespace layers