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

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

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 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;

Powered by Google App Engine
This is Rietveld 408576698