Chromium Code Reviews

Unified Diff: Source/core/inspector/InspectorApplicationCacheAgent.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.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/inspector/InspectorApplicationCacheAgent.h
diff --git a/Source/core/inspector/InspectorApplicationCacheAgent.h b/Source/core/inspector/InspectorApplicationCacheAgent.h
index 15bf8c080c9619f524438c915d4d4df034a23139..3bdeafb87d06026004ef5c3768b7fc5afac2dde6 100644
--- a/Source/core/inspector/InspectorApplicationCacheAgent.h
+++ b/Source/core/inspector/InspectorApplicationCacheAgent.h
@@ -41,13 +41,15 @@ class InstrumentingAgents;
typedef String ErrorString;
class InspectorApplicationCacheAgent FINAL : public InspectorBaseAgent<InspectorApplicationCacheAgent>, public InspectorBackendDispatcher::ApplicationCacheCommandHandler {
- WTF_MAKE_NONCOPYABLE(InspectorApplicationCacheAgent); WTF_MAKE_FAST_ALLOCATED;
+ WTF_MAKE_NONCOPYABLE(InspectorApplicationCacheAgent);
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
- static PassOwnPtr<InspectorApplicationCacheAgent> create(InspectorPageAgent* pageAgent)
+ static PassOwnPtrWillBeRawPtr<InspectorApplicationCacheAgent> create(InspectorPageAgent* pageAgent)
{
- return adoptPtr(new InspectorApplicationCacheAgent(pageAgent));
+ return adoptPtrWillBeNoop(new InspectorApplicationCacheAgent(pageAgent));
}
virtual ~InspectorApplicationCacheAgent() { }
+ virtual void trace(Visitor*) OVERRIDE;
// InspectorBaseAgent
virtual void setFrontend(InspectorFrontend*) OVERRIDE;
@@ -72,7 +74,7 @@ private:
DocumentLoader* assertFrameWithDocumentLoader(ErrorString*, String frameId);
- InspectorPageAgent* m_pageAgent;
+ RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
InspectorFrontend::ApplicationCache* m_frontend;
keishi 2014/06/11 14:10:53 SAFE: Cleared in InspectorApplicationCacheAgent::c
};

Powered by Google App Engine