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

Unified Diff: Source/platform/graphics/GraphicsLayerDebugInfo.h

Issue 474793002: Add GraphicsLayerDebugInfo::includesNewPaintInvalidation to distinguish paint from new RenderObjects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review 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/platform/graphics/GraphicsLayerDebugInfo.h
diff --git a/Source/platform/graphics/GraphicsLayerDebugInfo.h b/Source/platform/graphics/GraphicsLayerDebugInfo.h
index 019e571a211fffe8baec51f4feed1d95262b213c..a054e9a4c53edecd204da84226d1106c4288c7c8 100644
--- a/Source/platform/graphics/GraphicsLayerDebugInfo.h
+++ b/Source/platform/graphics/GraphicsLayerDebugInfo.h
@@ -46,6 +46,7 @@ public:
virtual ~GraphicsLayerDebugInfo();
virtual void appendAsTraceFormat(WebString* out) const OVERRIDE;
+ virtual bool includesFirstPaintInvalidation() const OVERRIDE;
GraphicsLayerDebugInfo* clone() const;
@@ -54,6 +55,7 @@ public:
void setCompositingReasons(CompositingReasons reasons) { m_compositingReasons = reasons; }
void setOwnerNodeId(int id) { m_ownerNodeId = id; }
Vector<LayoutRect>& currentLayoutRects() { return m_currentLayoutRects; }
+ void setIncludesFirstPaintInvalidation(bool b) { m_includesFirstPaintInvalidation = b; }
private:
void appendLayoutRects(JSONObject*) const;
@@ -65,6 +67,7 @@ private:
CompositingReasons m_compositingReasons;
int m_ownerNodeId;
Vector<LayoutRect> m_currentLayoutRects;
+ bool m_includesFirstPaintInvalidation;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698