Index: base/debug/trace_event_impl.cc |
diff --git a/base/debug/trace_event_impl.cc b/base/debug/trace_event_impl.cc |
index ab3b36dccdb32adb54a6262d8edd1227ce42897a..964c5344c5bb77f32d43796e0fb504f3bcc5026c 100644 |
--- a/base/debug/trace_event_impl.cc |
+++ b/base/debug/trace_event_impl.cc |
@@ -1354,6 +1354,7 @@ void TraceLog::Flush(const TraceLog::OutputCallback& cb) { |
scoped_refptr<RefCountedString> empty_result = new RefCountedString; |
if (!cb.is_null()) |
cb.Run(empty_result, false); |
+ LOG(WARNING) << "Ignored TraceLog::Flush called when tracing is enabled"; |
return; |
} |