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

Unified Diff: Source/core/inspector/InjectedScriptHost.cpp

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « Source/core/inspector/InjectedScriptHost.h ('k') | Source/core/inspector/InjectedScriptHost.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « Source/core/inspector/InjectedScriptHost.h ('k') | Source/core/inspector/InjectedScriptHost.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698