Chromium Code Reviews

Unified Diff: Source/modules/filesystem/InspectorFileSystemAgent.h

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Better mutex, updated GeolocationController Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/modules/filesystem/InspectorFileSystemAgent.h
diff --git a/Source/modules/filesystem/InspectorFileSystemAgent.h b/Source/modules/filesystem/InspectorFileSystemAgent.h
index 26f9a0cd5acde6280917e333136af220efecbc8d..2f4b5962e7a5c17009d9d16c32185643238bc964 100644
--- a/Source/modules/filesystem/InspectorFileSystemAgent.h
+++ b/Source/modules/filesystem/InspectorFileSystemAgent.h
@@ -43,8 +43,9 @@ class SecurityOrigin;
class InspectorFileSystemAgent FINAL : public InspectorBaseAgent<InspectorFileSystemAgent>, public InspectorBackendDispatcher::FileSystemCommandHandler {
public:
- static PassOwnPtr<InspectorFileSystemAgent> create(Page*);
+ static PassOwnPtrWillBeRawPtr<InspectorFileSystemAgent> create(Page*);
virtual ~InspectorFileSystemAgent();
+ virtual void trace(Visitor*) OVERRIDE;
virtual void enable(ErrorString*) OVERRIDE;
virtual void disable(ErrorString*) OVERRIDE;
@@ -59,11 +60,11 @@ public:
virtual void restore() OVERRIDE;
private:
- InspectorFileSystemAgent(Page*);
+ explicit InspectorFileSystemAgent(Page*);
bool assertEnabled(ErrorString*);
ExecutionContext* assertExecutionContextForOrigin(ErrorString*, SecurityOrigin*);
- Page* m_page;
+ RawPtrWillBeMember<Page> m_page;
bool m_enabled;
};

Powered by Google App Engine