Index: Source/core/inspector/InjectedScriptHost.cpp |
diff --git a/Source/core/inspector/InjectedScriptHost.cpp b/Source/core/inspector/InjectedScriptHost.cpp |
index ffa094031b4b16b219a03698bc7fdd524e772b17..2050d7251cb33194d5f099a6e6e0cc5232096cea 100644 |
--- a/Source/core/inspector/InjectedScriptHost.cpp |
+++ b/Source/core/inspector/InjectedScriptHost.cpp |
@@ -43,13 +43,13 @@ |
namespace blink { |
-PassRefPtr<InjectedScriptHost> InjectedScriptHost::create() |
+PassRefPtrWillBeRawPtr<InjectedScriptHost> InjectedScriptHost::create() |
{ |
- return adoptRef(new InjectedScriptHost()); |
+ return adoptRefWillBeNoop(new InjectedScriptHost()); |
} |
InjectedScriptHost::InjectedScriptHost() |
- : m_instrumentingAgents(0) |
+ : m_instrumentingAgents(nullptr) |
, m_scriptDebugServer(0) |
{ |
ScriptWrappable::init(this); |
@@ -60,9 +60,14 @@ InjectedScriptHost::~InjectedScriptHost() |
{ |
} |
+void InjectedScriptHost::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_instrumentingAgents); |
+} |
+ |
void InjectedScriptHost::disconnect() |
{ |
- m_instrumentingAgents = 0; |
+ m_instrumentingAgents = nullptr; |
m_scriptDebugServer = 0; |
} |