| Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
|
| index af3638057b21ad9d63567520d83a252ac2a5eaff..6d381c1c2552a6d21d1bfc5e6797af8a52189df7 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
|
| @@ -481,10 +481,8 @@ class CORE_EXPORT PaintLayerScrollableArea final
|
| void invalidateStickyConstraintsFor(PaintLayer*,
|
| bool needsCompositingUpdate = true);
|
|
|
| - void removeStyleRelatedMainThreadScrollingReasons();
|
| - void addStyleRelatedMainThreadScrollingReasons(const uint32_t);
|
| - bool hasMainThreadScrollingReason(uint32_t reason) const {
|
| - return m_reasons & reason;
|
| + uint32_t getNonCompositedMainThreadScrollingReasons() {
|
| + return m_nonCompositedMainThreadScrollingReasons;
|
| }
|
|
|
| uint64_t id() const;
|
| @@ -595,7 +593,7 @@ class CORE_EXPORT PaintLayerScrollableArea final
|
| std::unique_ptr<PaintLayerScrollableAreaRareData> m_rareData;
|
|
|
| // MainThreadScrollingReason due to the properties of the LayoutObject
|
| - uint32_t m_reasons;
|
| + uint32_t m_nonCompositedMainThreadScrollingReasons;
|
|
|
| #if DCHECK_IS_ON()
|
| bool m_hasBeenDisposed;
|
|
|