Index: Source/platform/graphics/GraphicsLayerDebugInfo.cpp |
diff --git a/Source/platform/graphics/GraphicsLayerDebugInfo.cpp b/Source/platform/graphics/GraphicsLayerDebugInfo.cpp |
index 0bc8464abb5958e0e265c29e5c3f1827fdf9b85d..dcfa22d7cc9a3e172ec7e7c5753deb7efe5107e5 100644 |
--- a/Source/platform/graphics/GraphicsLayerDebugInfo.cpp |
+++ b/Source/platform/graphics/GraphicsLayerDebugInfo.cpp |
@@ -27,6 +27,7 @@ namespace blink { |
GraphicsLayerDebugInfo::GraphicsLayerDebugInfo() |
: m_compositingReasons(CompositingReasonNone) |
+ , m_includesFirstPaintInvalidation(false) |
{ |
} |
@@ -42,6 +43,11 @@ void GraphicsLayerDebugInfo::appendAsTraceFormat(WebString* out) const |
*out = jsonObject->toJSONString(); |
} |
+bool GraphicsLayerDebugInfo::includesFirstPaintInvalidation() const |
+{ |
+ return m_includesFirstPaintInvalidation; |
+} |
+ |
GraphicsLayerDebugInfo* GraphicsLayerDebugInfo::clone() const |
{ |
GraphicsLayerDebugInfo* toReturn = new GraphicsLayerDebugInfo(); |
@@ -49,6 +55,7 @@ GraphicsLayerDebugInfo* GraphicsLayerDebugInfo::clone() const |
toReturn->currentLayoutRects().append(m_currentLayoutRects[i]); |
toReturn->setCompositingReasons(m_compositingReasons); |
toReturn->setOwnerNodeId(m_ownerNodeId); |
+ toReturn->setIncludesFirstPaintInvalidation(m_includesFirstPaintInvalidation); |
return toReturn; |
} |