Index: Source/core/inspector/InspectorLayerTreeAgent.h |
diff --git a/Source/core/inspector/InspectorLayerTreeAgent.h b/Source/core/inspector/InspectorLayerTreeAgent.h |
index ecb08b1b74b38f27a5210316449e35b92dfb1302..cd8f56d72a1295359321a788c74810b0313e1442 100644 |
--- a/Source/core/inspector/InspectorLayerTreeAgent.h |
+++ b/Source/core/inspector/InspectorLayerTreeAgent.h |
@@ -51,11 +51,12 @@ typedef String ErrorString; |
class InspectorLayerTreeAgent FINAL : public InspectorBaseAgent<InspectorLayerTreeAgent>, public InspectorBackendDispatcher::LayerTreeCommandHandler { |
public: |
- static PassOwnPtr<InspectorLayerTreeAgent> create(Page* page) |
+ static PassOwnPtrWillBeRawPtr<InspectorLayerTreeAgent> create(Page* page) |
{ |
- return adoptPtr(new InspectorLayerTreeAgent(page)); |
+ return adoptPtrWillBeNoop(new InspectorLayerTreeAgent(page)); |
} |
virtual ~InspectorLayerTreeAgent(); |
+ virtual void trace(Visitor*) OVERRIDE; |
virtual void setFrontend(InspectorFrontend*) OVERRIDE; |
virtual void clearFrontend() OVERRIDE; |
@@ -98,7 +99,7 @@ private: |
int idForNode(Node*); |
InspectorFrontend::LayerTree* m_frontend; |
keishi
2014/06/11 14:10:55
SAFE: InspectorFrontend::LayerTree is owned by Ins
|
- Page* m_page; |
+ RawPtrWillBeMember<Page> m_page; |
Vector<int, 2> m_pageOverlayLayerIds; |
typedef HashMap<String, RefPtr<GraphicsContextSnapshot> > SnapshotById; |