Index: Source/core/inspector/PageDebuggerAgent.h |
diff --git a/Source/core/inspector/PageDebuggerAgent.h b/Source/core/inspector/PageDebuggerAgent.h |
index ae08554cd0af2fe2ea72d326f16678d0376f5be2..34e6e4a2acc7e78fedc200aa7e0b97d7ce43f49d 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; |
}; |