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. |