diff --git a/gfx/layers/ipc/AsyncPanZoomController.cpp b/gfx/layers/ipc/AsyncPanZoomController.cpp index fc95f44425af..6f2f8fc32af0 100644 --- a/gfx/layers/ipc/AsyncPanZoomController.cpp +++ b/gfx/layers/ipc/AsyncPanZoomController.cpp @@ -1284,7 +1284,7 @@ void AsyncPanZoomController::NotifyLayersUpdated(const FrameMetrics& aLayerMetri aLayerMetrics.mCompositionBounds.height == mFrameMetrics.mCompositionBounds.height) { // Remote content has sync'd up to the composition geometry // change, so we can accept the viewport it's calculated. - if (mFrameMetrics.mViewport.width != aLayerMetrics.mViewport) + if (mFrameMetrics.mViewport.width != aLayerMetrics.mViewport.width) needContentRepaint = true; mFrameMetrics.mViewport = aLayerMetrics.mViewport; }