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

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

Issue 135473002: Include debug name in GraphicsLayerDebugInfo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 6 years, 11 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
« no previous file with comments | « Source/platform/graphics/GraphicsLayer.cpp ('k') | Source/platform/graphics/GraphicsLayerDebugInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsLayerDebugInfo.h
diff --git a/Source/platform/graphics/GraphicsLayerDebugInfo.h b/Source/platform/graphics/GraphicsLayerDebugInfo.h
index 30f5a2f8a4f7d1d63402839febb65a266ce9b56a..8ef0716d66b786edb67ef8aa7c7f53779b9996dc 100644
--- a/Source/platform/graphics/GraphicsLayerDebugInfo.h
+++ b/Source/platform/graphics/GraphicsLayerDebugInfo.h
@@ -49,14 +49,17 @@ public:
GraphicsLayerDebugInfo* clone() const;
- Vector<LayoutRect>& currentLayoutRects() { return m_currentLayoutRects; }
+ void setDebugName(const String& name) { m_debugName = name; }
CompositingReasons compositingReasons() const { return m_compositingReasons; }
void setCompositingReasons(CompositingReasons reasons) { m_compositingReasons = reasons; }
+ Vector<LayoutRect>& currentLayoutRects() { return m_currentLayoutRects; }
private:
void appendLayoutRects(JSONObject*) const;
void appendCompositingReasons(JSONObject*) const;
+ void appendDebugName(JSONObject*) const;
+ String m_debugName;
CompositingReasons m_compositingReasons;
Vector<LayoutRect> m_currentLayoutRects;
};
« no previous file with comments | « Source/platform/graphics/GraphicsLayer.cpp ('k') | Source/platform/graphics/GraphicsLayerDebugInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698