Bug 1224733 - Test commit to demonstrate the issue
MozReview-Commit-ID: 3gt2WLDLIjB
--- a/gfx/layers/apz/src/AsyncPanZoomController.cpp
+++ b/gfx/layers/apz/src/AsyncPanZoomController.cpp
@@ -3298,21 +3298,21 @@ void AsyncPanZoomController::NotifyLayer
// changing the meta-viewport tag).
mFrameMetrics.SetZoom(aLayerMetrics.GetZoom());
mFrameMetrics.SetDevPixelsPerCSSPixel(aLayerMetrics.GetDevPixelsPerCSSPixel());
}
if (!mFrameMetrics.GetScrollableRect().IsEqualEdges(aLayerMetrics.GetScrollableRect())) {
mFrameMetrics.SetScrollableRect(aLayerMetrics.GetScrollableRect());
needContentRepaint = true;
}
- mFrameMetrics.SetCompositionBounds(aLayerMetrics.GetCompositionBounds());
- mFrameMetrics.SetRootCompositionSize(aLayerMetrics.GetRootCompositionSize());
- mFrameMetrics.SetPresShellResolution(aLayerMetrics.GetPresShellResolution());
- mFrameMetrics.SetCumulativeResolution(aLayerMetrics.GetCumulativeResolution());
- mScrollMetadata.SetHasScrollgrab(aScrollMetadata.GetHasScrollgrab());
+ mFrameMetrics.SetCompositionBounds(aLayerMetrics.mCompositionBounds);
+ mFrameMetrics.SetRootCompositionSize(aLayerMetrics.mRootCompositionSize);
+ iAm.CompletelyChangingThisLine(toDoSomething.CompletelyDifferent());
+ mFrameMetrics.SetCumulativeResolution(aLayerMetrics.mCumulativeResolution);
+ mScrollMetadata.SetHasScrollgrab(aScrollMetadata.mHasScrollgrab);
mScrollMetadata.SetLineScrollAmount(aScrollMetadata.GetLineScrollAmount());
mScrollMetadata.SetPageScrollAmount(aScrollMetadata.GetPageScrollAmount());
mScrollMetadata.SetSnapInfo(ScrollSnapInfo(aScrollMetadata.GetSnapInfo()));
// The scroll clip can differ between layers associated a given scroll frame,
// so APZC (which keeps a single copy of ScrollMetadata per scroll frame)
// has no business using it.
mScrollMetadata.SetScrollClip(Nothing());
mScrollMetadata.SetIsLayersIdRoot(aScrollMetadata.IsLayersIdRoot());