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

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

Issue 18473002: Add an API to report debugName in GraphicsLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: clear setName Created 7 years, 5 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/RenderLayerBacking.h
diff --git a/Source/core/rendering/RenderLayerBacking.h b/Source/core/rendering/RenderLayerBacking.h
index e4efc64407a816e1404402dc5e8df703ba5bf3d7..89b706ffc93509946c8ceb20db04e15a4edcbdf9 100644
--- a/Source/core/rendering/RenderLayerBacking.h
+++ b/Source/core/rendering/RenderLayerBacking.h
@@ -170,11 +170,13 @@ public:
void setBlendMode(BlendMode);
void reportMemoryUsage(MemoryObjectInfo*) const;
+ virtual String debugName(const GraphicsLayer*) OVERRIDE;
+
private:
void createPrimaryGraphicsLayer();
void destroyGraphicsLayers();
- PassOwnPtr<GraphicsLayer> createGraphicsLayer(const String& name, CompositingReasons);
+ PassOwnPtr<GraphicsLayer> createGraphicsLayer(CompositingReasons);
RenderLayerModelObject* renderer() const { return m_owningLayer->renderer(); }
RenderLayerCompositor* compositor() const { return m_owningLayer->compositor(); }

Powered by Google App Engine
This is Rietveld 408576698