Index: content/browser/tracing/trace_subscriber_stdio.cc |
diff --git a/content/browser/tracing/trace_subscriber_stdio.cc b/content/browser/tracing/trace_subscriber_stdio.cc |
index 35b96464e74b80ed0933f035c19b8e1ac46ca52f..2c6aede56cef0738459828dda7b8d58b04daa925 100644 |
--- a/content/browser/tracing/trace_subscriber_stdio.cc |
+++ b/content/browser/tracing/trace_subscriber_stdio.cc |
@@ -46,6 +46,7 @@ class TraceSubscriberStdio::TraceSubscriberStdioWorker |
void OnTraceData(const scoped_refptr<base::RefCountedString>& data_ptr) { |
if (!IsValid()) |
return; |
+ DCHECK(!data_ptr->data().empty()); |
if (needs_comma_) |
WriteString(","); |
WriteString(data_ptr->data()); |