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

Unified Diff: Source/core/inspector/InspectorLayerTreeAgent.h

Issue 166273018: Added showing slow scroll rectangles in Layers panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Moved ScrollRects into Layer structure. Created 6 years, 10 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/inspector/InspectorLayerTreeAgent.h
diff --git a/Source/core/inspector/InspectorLayerTreeAgent.h b/Source/core/inspector/InspectorLayerTreeAgent.h
index 6aca73ab88a59001540d18d795dbb6fd7fb2450b..cf0e12fae43c67dc073e9d6cf497738dfca8a6c0 100644
--- a/Source/core/inspector/InspectorLayerTreeAgent.h
+++ b/Source/core/inspector/InspectorLayerTreeAgent.h
@@ -88,11 +88,11 @@ private:
RenderLayerCompositor* renderLayerCompositor();
GraphicsLayer* layerById(ErrorString*, const String& layerId);
const LayerSnapshot* snapshotById(ErrorString*, const String& snapshotId);
- PassRefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> > buildLayerTree();
+ bool buildLayerTree(TypeBuilder::Array<TypeBuilder::LayerTree::Layer>&);
caseq 2014/02/27 13:46:55 I think you can revert this to original signature
malch 2014/02/27 14:58:59 Done.
typedef HashMap<int, int> LayerIdToNodeIdMap;
void buildLayerIdToNodeIdMap(RenderLayer*, LayerIdToNodeIdMap&);
- void gatherGraphicsLayers(GraphicsLayer*, HashMap<int, int>& layerIdToNodeIdMap, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> >&);
+ void gatherGraphicsLayers(GraphicsLayer*, HashMap<int, int>& layerIdToNodeIdMap, TypeBuilder::Array<TypeBuilder::LayerTree::Layer>&);
int idForNode(Node*);
InspectorFrontend::LayerTree* m_frontend;

Powered by Google App Engine
This is Rietveld 408576698