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 0a348662a9baa98a5ee1c03ae0a0724f0af5ea04..8a3e916091b40dc774ef1e0bfbfb2dbde21e8ea6 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h |
@@ -479,14 +479,12 @@ class CORE_EXPORT PaintLayerScrollableArea final |
StickyConstraintsMap& GetStickyConstraintsMap() { |
return EnsureRareData().sticky_constraints_map_; |
} |
+ |
void InvalidateAllStickyConstraints(); |
void InvalidateStickyConstraintsFor(PaintLayer*, |
bool needs_compositing_update = true); |
- |
- void RemoveStyleRelatedMainThreadScrollingReasons(); |
- void AddStyleRelatedMainThreadScrollingReasons(const uint32_t); |
- bool HasMainThreadScrollingReason(uint32_t reason) const { |
- return reasons_ & reason; |
+ uint32_t GetNonCompositedMainThreadScrollingReasons() { |
+ return non_composited_main_thread_scrolling_reasons_; |
} |
uint64_t Id() const; |
@@ -597,7 +595,7 @@ class CORE_EXPORT PaintLayerScrollableArea final |
std::unique_ptr<PaintLayerScrollableAreaRareData> rare_data_; |
// MainThreadScrollingReason due to the properties of the LayoutObject |
- uint32_t reasons_; |
+ uint32_t non_composited_main_thread_scrolling_reasons_; |
#if DCHECK_IS_ON() |
bool has_been_disposed_; |