| Index: Source/core/inspector/InspectorLayerTreeAgent.h
|
| diff --git a/Source/core/inspector/InspectorLayerTreeAgent.h b/Source/core/inspector/InspectorLayerTreeAgent.h
|
| index d476db879211bc02aaee169442f6caccb9896508..72b91630f58a543d5f44e172df32bec0cb1ef6d3 100644
|
| --- a/Source/core/inspector/InspectorLayerTreeAgent.h
|
| +++ b/Source/core/inspector/InspectorLayerTreeAgent.h
|
| @@ -43,6 +43,7 @@
|
|
|
| class GraphicsContext;
|
| class GraphicsLayer;
|
| +class InspectorPageAgent;
|
| class LayoutObject;
|
| class LayoutRect;
|
| class PictureSnapshot;
|
| @@ -53,9 +54,9 @@
|
|
|
| class InspectorLayerTreeAgent final : public InspectorBaseAgent<InspectorLayerTreeAgent, InspectorFrontend::LayerTree>, public InspectorBackendDispatcher::LayerTreeCommandHandler {
|
| public:
|
| - static PassOwnPtrWillBeRawPtr<InspectorLayerTreeAgent> create(LocalFrame* inspectedFrame)
|
| + static PassOwnPtrWillBeRawPtr<InspectorLayerTreeAgent> create(InspectorPageAgent* pageAgent)
|
| {
|
| - return adoptPtrWillBeNoop(new InspectorLayerTreeAgent(inspectedFrame));
|
| + return adoptPtrWillBeNoop(new InspectorLayerTreeAgent(pageAgent));
|
| }
|
| virtual ~InspectorLayerTreeAgent();
|
| DECLARE_VIRTUAL_TRACE();
|
| @@ -87,7 +88,7 @@
|
| private:
|
| static unsigned s_lastSnapshotId;
|
|
|
| - explicit InspectorLayerTreeAgent(LocalFrame*);
|
| + explicit InspectorLayerTreeAgent(InspectorPageAgent*);
|
|
|
| GraphicsLayer* rootGraphicsLayer();
|
|
|
| @@ -100,7 +101,7 @@
|
| void gatherGraphicsLayers(GraphicsLayer*, HashMap<int, int>& layerIdToNodeIdMap, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> >&);
|
| int idForNode(Node*);
|
|
|
| - RawPtrWillBeMember<LocalFrame> m_inspectedFrame;
|
| + RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
|
| Vector<int, 2> m_pageOverlayLayerIds;
|
|
|
| typedef HashMap<String, RefPtr<PictureSnapshot> > SnapshotById;
|
|
|