| 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 e50b22e5205e7f496382be7851be5b05eca1ee41..3a874d8b65ff66cbe7ba1c8f663958eed7b3a485 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
|
| @@ -475,6 +475,11 @@ class CORE_EXPORT PaintLayerScrollableArea final
|
| void invalidateStickyConstraintsFor(PaintLayer*,
|
| bool needsCompositingUpdate = true);
|
|
|
| + bool hasMainThreadScrollingReason(uint32_t reason) const {
|
| + return m_reasons & reason;
|
| + }
|
| + void flipMainThreadScrollingReason(uint32_t reason) { m_reasons ^= reason; }
|
| +
|
| uint64_t id() const;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
| @@ -579,6 +584,9 @@ class CORE_EXPORT PaintLayerScrollableArea final
|
|
|
| std::unique_ptr<PaintLayerScrollableAreaRareData> m_rareData;
|
|
|
| + // MainThreadScrollingReason due to the properties of the LayoutObject
|
| + uint32_t m_reasons;
|
| +
|
| #if ENABLE(ASSERT)
|
| bool m_hasBeenDisposed;
|
| #endif
|
|
|