Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(784)

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.h

Issue 2499853002: Fixed clip resize for document.rootScroller with inertTopControls (Closed)
Patch Set: +Test Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698