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

Unified Diff: remoting/base/tracer.cc

Issue 4291001: Convert implicit scoped_refptr constructor calls to explicit ones, part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/build
Patch Set: comments Created 10 years, 1 month 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 | « remoting/base/multiple_array_input_stream.cc ('k') | remoting/protocol/jingle_chromotocol_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/tracer.cc
diff --git a/remoting/base/tracer.cc b/remoting/base/tracer.cc
index 4d30f91a7c834fdc873cbf35dac9106ae9b5a3d7..3245887e311ffc882fa88626db2a568053ec6f8d 100644
--- a/remoting/base/tracer.cc
+++ b/remoting/base/tracer.cc
@@ -172,7 +172,7 @@ TraceContext::TraceContext() {}
TraceContext::~TraceContext() {}
void TraceContext::PushTracerInternal(Tracer* tracer) {
- tracers_.push_back(tracer);
+ tracers_.push_back(make_scoped_refptr(tracer));
}
void TraceContext::PopTracerInternal() { tracers_.pop_back(); }
« no previous file with comments | « remoting/base/multiple_array_input_stream.cc ('k') | remoting/protocol/jingle_chromotocol_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698