Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2549353002: Implement PaintLayer::scrollsWithViewport for SPv2. (Closed)
Patch Set: none Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a089203f9ba2198a3b73b6b5029e8b9054a83fe6..e37f85862a863e57c23f8d5883134cbf871ecd2b 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -2874,8 +2874,11 @@ void FrameView::updateLifecyclePhasesInternal(
if (targetState >= DocumentLifecycle::PrePaintClean) {
if (!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
invalidateTreeIfNeededRecursive();
- if (view.compositor()->inCompositingMode())
- scrollingCoordinator()->updateAfterCompositingChangeIfNeeded();
+
+ if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
+ if (view.compositor()->inCompositingMode())
+ scrollingCoordinator()->updateAfterCompositingChangeIfNeeded();
+ }
updateCompositedSelectionIfNeeded();
}

Powered by Google App Engine
This is Rietveld 408576698