Bug 1445019 - Use the compositing transform when checking for unused APZ transforms. r=botond

MozReview-Commit-ID: 1o1RANM3yxo

--HG--
extra : rebase_source : 1d05cda7c7677df58f8ce8f1a46d51498d52c734
This commit is contained in:
Kartikaya Gupta 2018-03-12 16:17:26 -04:00
Родитель d2b1811744
Коммит 18fc026b3a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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