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

Unified Diff: content/browser/tracing/tracing_controller_impl.cc

Issue 1612583002: Clear StartTracingDoneCallback after usage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tracing/tracing_controller_impl.cc
diff --git a/content/browser/tracing/tracing_controller_impl.cc b/content/browser/tracing/tracing_controller_impl.cc
index 438f1269ac73d969e0727c43ab01f06e3c3b940c..72cf476ae00c122d98f369ad302f200335011e9c 100644
--- a/content/browser/tracing/tracing_controller_impl.cc
+++ b/content/browser/tracing/tracing_controller_impl.cc
@@ -270,6 +270,8 @@ void TracingControllerImpl::OnStartAgentTracingDone(
if (!callback.is_null())
callback.Run();
+
+ start_tracing_done_callback_ = StartTracingDoneCallback();
oystein (OOO til 10th of July) 2016/01/21 15:57:03 I think you can do start_tracing_done_callback_.Re
Zhen Wang 2016/01/21 21:14:05 Done.
}
bool TracingControllerImpl::StopTracing(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698