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

Unified Diff: Source/core/inspector/PageDebuggerAgent.h

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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/PageDebuggerAgent.h
diff --git a/Source/core/inspector/PageDebuggerAgent.h b/Source/core/inspector/PageDebuggerAgent.h
index 97f2553dff757d4bbe4cee19986a326d69eff832..fca333215135f4bab3352f421b349099a6e370b9 100644
--- a/Source/core/inspector/PageDebuggerAgent.h
+++ b/Source/core/inspector/PageDebuggerAgent.h
@@ -48,10 +48,11 @@ class PageDebuggerAgent FINAL :
public InspectorDebuggerAgent,
public InspectorOverlayHost::Listener {
WTF_MAKE_NONCOPYABLE(PageDebuggerAgent);
- WTF_MAKE_FAST_ALLOCATED;
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
- static PassOwnPtr<PageDebuggerAgent> create(PageScriptDebugServer*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*);
+ static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(PageScriptDebugServer*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*);
virtual ~PageDebuggerAgent();
+ virtual void trace(Visitor*) OVERRIDE;
void didClearDocumentOfWindowObject(LocalFrame*);
String preprocessEventListener(LocalFrame*, const String& source, const String& url, const String& functionName);
@@ -77,8 +78,9 @@ private:
virtual void setOverlayMessage(ErrorString*, const String*) OVERRIDE;
PageDebuggerAgent(PageScriptDebugServer*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*);
+ // FIXME: Oilpan: Move PageScriptDebugServer to heap in follow-up CL.
PageScriptDebugServer* m_pageScriptDebugServer;
- InspectorPageAgent* m_pageAgent;
+ RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
InspectorOverlay* m_overlay;
};

Powered by Google App Engine
This is Rietveld 408576698