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

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: Created 6 years, 5 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/modules/filesystem/InspectorFileSystemAgent.h
diff --git a/Source/modules/filesystem/InspectorFileSystemAgent.h b/Source/modules/filesystem/InspectorFileSystemAgent.h
index 58c7df4f01657a9cd8c5a65bb81696a76c8c1be3..86bc92a214dfae9ae2ac3beb5a2982442bee7a3a 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
This is Rietveld 408576698