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

Unified Diff: Source/core/inspector/InspectorInspectorAgent.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
« no previous file with comments | « Source/core/inspector/InspectorInputAgent.cpp ('k') | Source/core/inspector/InspectorInspectorAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorInspectorAgent.h
diff --git a/Source/core/inspector/InspectorInspectorAgent.h b/Source/core/inspector/InspectorInspectorAgent.h
index 6d528ffafacd59e996b86690144547c5ecfa8b30..a781082c6ba883f8d9120b2b62e08c771a327c26 100644
--- a/Source/core/inspector/InspectorInspectorAgent.h
+++ b/Source/core/inspector/InspectorInspectorAgent.h
@@ -51,12 +51,13 @@ typedef String ErrorString;
class InspectorInspectorAgent FINAL : public InspectorBaseAgent<InspectorInspectorAgent>, public InspectorBackendDispatcher::InspectorCommandHandler {
WTF_MAKE_NONCOPYABLE(InspectorInspectorAgent);
public:
- static PassOwnPtr<InspectorInspectorAgent> create(Page* page, InjectedScriptManager* injectedScriptManager)
+ static PassOwnPtrWillBeRawPtr<InspectorInspectorAgent> create(Page* page, InjectedScriptManager* injectedScriptManager)
{
- return adoptPtr(new InspectorInspectorAgent(page, injectedScriptManager));
+ return adoptPtrWillBeNoop(new InspectorInspectorAgent(page, injectedScriptManager));
}
virtual ~InspectorInspectorAgent();
+ virtual void trace(Visitor*) OVERRIDE;
// Inspector front-end API.
virtual void enable(ErrorString*) OVERRIDE;
@@ -83,8 +84,9 @@ public:
private:
InspectorInspectorAgent(Page*, InjectedScriptManager*);
- Page* m_inspectedPage;
+ RawPtrWillBeMember<Page> m_inspectedPage;
InspectorFrontend* m_frontend;
+ // FIXME: Oilpan: Move InjectedScriptManager to heap in follow-up CL.
InjectedScriptManager* m_injectedScriptManager;
Vector<pair<long, String> > m_pendingEvaluateTestCommands;
« no previous file with comments | « Source/core/inspector/InspectorInputAgent.cpp ('k') | Source/core/inspector/InspectorInspectorAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698