Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index a2e0bdb3c4ea323c051952daee7ad2c792735159..6e72b3d62d5241e16477cd93c5d080f420601886 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -3049,7 +3049,7 @@ void FrameView::updateLifecyclePhasesInternal( |
invalidateTreeIfNeededRecursive(); |
if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { |
- if (view.compositor()->inCompositingMode()) |
+ if (view.compositor()->inCompositingMode() && isSelfVisible()) |
scrollingCoordinator()->updateAfterCompositingChangeIfNeeded(); |
} |