| Index: Source/core/inspector/PageRuntimeAgent.h
|
| diff --git a/Source/core/inspector/PageRuntimeAgent.h b/Source/core/inspector/PageRuntimeAgent.h
|
| index 17776869161ece018c3d6fb541734f1552f50e4f..b914108761a2f3247bdcd92e8735342798a78c14 100644
|
| --- a/Source/core/inspector/PageRuntimeAgent.h
|
| +++ b/Source/core/inspector/PageRuntimeAgent.h
|
| @@ -43,11 +43,12 @@ class SecurityOrigin;
|
|
|
| class PageRuntimeAgent FINAL : public InspectorRuntimeAgent {
|
| public:
|
| - static PassOwnPtr<PageRuntimeAgent> create(InjectedScriptManager* injectedScriptManager, ScriptDebugServer* scriptDebugServer, Page* page, InspectorPageAgent* pageAgent)
|
| + static PassOwnPtrWillBeRawPtr<PageRuntimeAgent> create(InjectedScriptManager* injectedScriptManager, ScriptDebugServer* scriptDebugServer, Page* page, InspectorPageAgent* pageAgent)
|
| {
|
| - return adoptPtr(new PageRuntimeAgent(injectedScriptManager, scriptDebugServer, page, pageAgent));
|
| + return adoptPtrWillBeNoop(new PageRuntimeAgent(injectedScriptManager, scriptDebugServer, page, pageAgent));
|
| }
|
| virtual ~PageRuntimeAgent();
|
| + virtual void trace(Visitor*) OVERRIDE;
|
| virtual void init() OVERRIDE;
|
| virtual void enable(ErrorString*) OVERRIDE;
|
|
|
| @@ -63,8 +64,8 @@ private:
|
| virtual void unmuteConsole() OVERRIDE;
|
| void reportExecutionContextCreation();
|
|
|
| - Page* m_inspectedPage;
|
| - InspectorPageAgent* m_pageAgent;
|
| + RawPtrWillBeMember<Page> m_inspectedPage;
|
| + RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
|
| bool m_mainWorldContextCreated;
|
| };
|
|
|
|
|