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

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

Issue 504273002: Remove implicit conversions from scoped_refptr to T* in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « content/browser/time_zone_monitor_linux.cc ('k') | content/browser/transition_request_manager.cc » ('j') | 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 5fe4d2f0fd7ffbd1d354707c3581f06a1c556b4b..ca480c70638cf829cc292c7cb2a683d7bc5474cb 100644
--- a/content/browser/tracing/tracing_controller_impl.cc
+++ b/content/browser/tracing/tracing_controller_impl.cc
@@ -133,7 +133,7 @@ void TracingControllerImpl::ResultFile::CloseTask(
size_t written = fwrite(trailevents, strlen(trailevents), 1, file_);
DCHECK(written == 1);
- if (system_trace_) {
+ if (system_trace_.get()) {
#if defined(OS_WIN)
// The Windows kernel events are kept into a JSon format stored as string
// and must not be escaped.
« no previous file with comments | « content/browser/time_zone_monitor_linux.cc ('k') | content/browser/transition_request_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698