Index: Source/core/inspector/PageConsoleAgent.h |
diff --git a/Source/core/inspector/PageConsoleAgent.h b/Source/core/inspector/PageConsoleAgent.h |
index 4dbf7f6097548b94a9e2591488b1820416161cce..63c6a4da086e271e25140e660e7260d38c4f284a 100644 |
--- a/Source/core/inspector/PageConsoleAgent.h |
+++ b/Source/core/inspector/PageConsoleAgent.h |
@@ -41,11 +41,12 @@ class InspectorDOMAgent; |
class PageConsoleAgent FINAL : public InspectorConsoleAgent { |
WTF_MAKE_NONCOPYABLE(PageConsoleAgent); |
public: |
- static PassOwnPtr<PageConsoleAgent> create(InjectedScriptManager* injectedScriptManager, InspectorDOMAgent* domAgent, InspectorTimelineAgent* timelineAgent) |
+ static PassOwnPtrWillBeRawPtr<PageConsoleAgent> create(InjectedScriptManager* injectedScriptManager, InspectorDOMAgent* domAgent, InspectorTimelineAgent* timelineAgent) |
{ |
- return adoptPtr(new PageConsoleAgent(injectedScriptManager, domAgent, timelineAgent)); |
+ return adoptPtrWillBeNoop(new PageConsoleAgent(injectedScriptManager, domAgent, timelineAgent)); |
} |
virtual ~PageConsoleAgent(); |
+ virtual void trace(Visitor*) OVERRIDE; |
virtual bool isWorkerAgent() OVERRIDE { return false; } |
@@ -54,7 +55,7 @@ private: |
virtual void clearMessages(ErrorString*) OVERRIDE; |
virtual void addInspectedNode(ErrorString*, int nodeId) OVERRIDE; |
- InspectorDOMAgent* m_inspectorDOMAgent; |
+ RawPtrWillBeMember<InspectorDOMAgent> m_inspectorDOMAgent; |
}; |
} // namespace WebCore |