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

Unified Diff: Source/core/rendering/RenderObject.h

Issue 498193003: Add |GraphicsLayerDebugInfo::getAnnotatedInvalidationRects| (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add missing files Created 6 years, 4 months 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: Source/core/rendering/RenderObject.h
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h
index fa7acb36c9a4b8c37af855ba674132960aa02146..7476350a5438098b4cf6613fd9ddf2e965ccfe93 100644
--- a/Source/core/rendering/RenderObject.h
+++ b/Source/core/rendering/RenderObject.h
@@ -425,6 +425,8 @@ public:
bool hasCounterNodeMap() const { return m_bitfields.hasCounterNodeMap(); }
void setHasCounterNodeMap(bool hasCounterNodeMap) { m_bitfields.setHasCounterNodeMap(hasCounterNodeMap); }
bool everHadLayout() const { return m_bitfields.everHadLayout(); }
+ void setHadPaintInvalidation() { m_bitfields.setHadPaintInvalidation(true); }
+ bool hadPaintInvalidation() const { return m_bitfields.hadPaintInvalidation(); }
bool childrenInline() const { return m_bitfields.childrenInline(); }
void setChildrenInline(bool b) { m_bitfields.setChildrenInline(b); }
@@ -1246,6 +1248,7 @@ private:
, m_hasReflection(false)
, m_hasCounterNodeMap(false)
, m_everHadLayout(false)
+ , m_hadPaintInvalidation(false)
, m_ancestorLineBoxDirty(false)
, m_layoutDidGetCalled(false)
, m_hasPendingResourceUpdate(false)
@@ -1291,6 +1294,7 @@ private:
ADD_BOOLEAN_BITFIELD(hasCounterNodeMap, HasCounterNodeMap);
ADD_BOOLEAN_BITFIELD(everHadLayout, EverHadLayout);
+ ADD_BOOLEAN_BITFIELD(hadPaintInvalidation, HadPaintInvalidation);
abarth-chromium 2014/09/02 19:34:58 I don't think we should add bits to RenderObject t
kouhei (in TOK) 2014/09/03 22:53:47 Acknowledged. I'm thinking of keeping a HashSet fo
ADD_BOOLEAN_BITFIELD(ancestorLineBoxDirty, AncestorLineBoxDirty);
ADD_BOOLEAN_BITFIELD(layoutDidGetCalled, LayoutDidGetCalled);

Powered by Google App Engine
This is Rietveld 408576698