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

Unified Diff: third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp

Issue 2176523003: FrameView shouldn't apply scroll anchoring when root layer scrolling is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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/paint/PaintInvalidationCapableScrollableArea.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp
index 47b0caed049a5f69d52d722377f8b6becbf6646d..e552529731da952405cef19fbe3353725b902c42 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp
@@ -135,10 +135,4 @@ void PaintInvalidationCapableScrollableArea::scrollControlWasSetNeedsPaintInvali
layoutBox()->setMayNeedPaintInvalidation();
}
-bool PaintInvalidationCapableScrollableArea::shouldPerformScrollAnchoring() const
-{
- return RuntimeEnabledFeatures::scrollAnchoringEnabled()
- && layoutBox()->style()->overflowAnchor() != AnchorNone;
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698