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

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

Issue 818673004: Explicitly dispose of async call chains. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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/AsyncCallChainMap.h ('k') | Source/core/inspector/V8AsyncCallTracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorDebuggerAgent.cpp
diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp
index 501cdf256353b7d12bb9f80f41195d7433fdf917..1ebd004f781d0e2db693f80146fcf08ba1942cb6 100644
--- a/Source/core/inspector/InspectorDebuggerAgent.cpp
+++ b/Source/core/inspector/InspectorDebuggerAgent.cpp
@@ -135,7 +135,7 @@ InspectorDebuggerAgent::InspectorDebuggerAgent(InjectedScriptManager* injectedSc
, m_nestedAsyncCallCount(0)
, m_performingAsyncStepIn(false)
{
- m_v8AsyncCallTracker = adoptPtrWillBeNoop(new V8AsyncCallTracker(this));
+ m_v8AsyncCallTracker = V8AsyncCallTracker::create(this);
}
InspectorDebuggerAgent::~InspectorDebuggerAgent()
« no previous file with comments | « Source/core/inspector/AsyncCallChainMap.h ('k') | Source/core/inspector/V8AsyncCallTracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698