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

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

Issue 2766893002: Remove logic about recording style related main thread scroll reasons (Closed)
Patch Set: Created 3 years, 9 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/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 4959e65cffdd86d3499cbe53c908e02024163cdf..0d022a76f584a7bebd1567546385af3fea1f980c 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -5093,8 +5093,6 @@ MainThreadScrollingReasons FrameView::mainThreadScrollingReasonsPerFrame()
if (hasBackgroundAttachmentFixedObjects())
reasons |= MainThreadScrollingReason::kHasBackgroundAttachmentFixedObjects;
- reasons |= getStyleRelatedMainThreadScrollingReasons();
-
ScrollingReasons scrollingReasons = getScrollingReasons();
const bool mayBeScrolledByInput = (scrollingReasons == Scrollable);
const bool mayBeScrolledByScript =

Powered by Google App Engine
This is Rietveld 408576698