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

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: nit 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 ecb5bbfbb0193e86d64898498ac17b62c7ce01a9..332d031f35c671bc8e27621444fbc5e4d32be7c1 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -802,9 +802,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;
@@ -1220,11 +1217,6 @@ class CORE_EXPORT FrameView final
bool is_storing_composited_layer_debug_info_;
MainThreadScrollingReasons main_thread_scrolling_reasons_;
- // 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> main_thread_scrolling_reasons_counter_;
// TODO(kenrb): Remove these when https://crbug.com/680606 is resolved.
std::unique_ptr<CompositorAnimationTimeline> animation_timeline_;

Powered by Google App Engine
This is Rietveld 408576698