Index: third_party/WebKit/Source/core/paint/PaintLayer.h |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h |
index edda077fb96ec4880e7e43775f5cbeca25063792..33445adc5b195315b4100f1c6ad5cd802141f954 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h |
@@ -933,6 +933,11 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient { |
m_previousPaintPhaseDescendantOutlinesWasEmpty = isEmpty; |
} |
+ void setIsRootScroller(bool isRootScroller) { |
+ m_isRootScroller = isRootScroller; |
+ } |
+ bool isRootScroller() { return m_isRootScroller; } |
+ |
// Similar to above, but for PaintPhaseFloat. |
bool needsPaintPhaseFloat() const { |
return m_needsPaintPhaseFloat && !m_previousPaintPhaseFloatWasEmpty; |
@@ -1171,6 +1176,8 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient { |
unsigned m_needsPaintPhaseDescendantBlockBackgrounds : 1; |
unsigned m_previousPaintPhaseDescendantBlockBackgroundsWasEmpty : 1; |
+ unsigned m_isRootScroller : 1; |
+ |
// These bitfields are part of ancestor/descendant dependent compositing |
// inputs. |
unsigned m_hasDescendantWithClipPath : 1; |