| 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 1dd516b9b577cb851b1ad5821a52f013a6483eb3..827969c89f29e05cca150a4fc6828c85e5e1d663 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.h
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.h
|
| @@ -803,6 +803,9 @@
|
| // 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;
|
|
|
| @@ -1218,6 +1221,11 @@
|
|
|
| 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_;
|
|
|