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

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: Added agents() 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/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;
haraken 2014/06/11 06:09:48 This raw pointer looks safe because m_frontend is
};
« no previous file with comments | « no previous file | Source/core/inspector/InspectorApplicationCacheAgent.cpp » ('j') | Source/core/inspector/InspectorCSSAgent.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698