Skip to content

Commit

Permalink
Bug 961171 - Have APZ pick up on dynamic changes to 'scrollgrab' prop…
Browse files Browse the repository at this point in the history
…erty. r=BenWa
  • Loading branch information
theres-waldo committed Jan 17, 2014
1 parent ae803c8 commit 1624710
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gfx/layers/ipc/AsyncPanZoomController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1570,6 +1570,7 @@ void AsyncPanZoomController::NotifyLayersUpdated(const FrameMetrics& aLayerMetri
mFrameMetrics.mZoom.scale *= parentResolutionChange;
mFrameMetrics.mResolution = aLayerMetrics.mResolution;
mFrameMetrics.mCumulativeResolution = aLayerMetrics.mCumulativeResolution;
mFrameMetrics.mHasScrollgrab = aLayerMetrics.mHasScrollgrab;

// If the layers update was not triggered by our own repaint request, then
// we want to take the new scroll offset.
Expand Down

0 comments on commit 1624710

Please sign in to comment.