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

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

Issue 2773593005: Move logic of recording main thread scrolling reasons from cc to blink::ScrollManager (Closed)
Patch Set: Remove the UnknownNonCompositedRegion bucket Created 3 years, 8 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.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index 82abd868b2ccaebaa3861518dd4589efc38f60ce..a2e89bd76bb0672a89e063cb1c68bbd856d3d6c5 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -799,9 +799,6 @@ class CORE_EXPORT FrameView final
// Main thread scrolling reasons for this object only. For all reasons,
// see: mainThreadScrollingReasons().
MainThreadScrollingReasons mainThreadScrollingReasonsPerFrame() const;
- void adjustStyleRelatedMainThreadScrollingReasons(const uint32_t reason,
- bool increase);
- MainThreadScrollingReasons getStyleRelatedMainThreadScrollingReasons() const;
bool hasVisibleSlowRepaintViewportConstrainedObjects() const;
@@ -1215,11 +1212,6 @@ class CORE_EXPORT FrameView final
bool m_isStoringCompositedLayerDebugInfo;
MainThreadScrollingReasons m_mainThreadScrollingReasons;
- // For recording main thread scrolling reasons
- // due to layout object properties. e.g. opacity, transform.
- // The size of the vector depends on the number of
- // main thread scrolling reasons.
- Vector<int> m_mainThreadScrollingReasonsCounter;
// TODO(kenrb): Remove these when https://crbug.com/680606 is resolved.
std::unique_ptr<CompositorAnimationTimeline> m_animationTimeline;

Powered by Google App Engine
This is Rietveld 408576698