Index: src/tracing/trace-event.cc |
diff --git a/src/tracing/trace-event.cc b/src/tracing/trace-event.cc |
index 1dce081b1ace936bc90481a1871f5ca9a2e59881..440af193e921c5aaa8052cd2eb74acb590cf9d77 100644 |
--- a/src/tracing/trace-event.cc |
+++ b/src/tracing/trace-event.cc |
@@ -28,9 +28,10 @@ void CallStatsScopedTracer::AddEndTraceEvent() { |
TRACE_EVENT_PHASE_END, p_data_->category_group_enabled, p_data_->name, |
v8::internal::tracing::kGlobalScope, v8::internal::tracing::kNoId, |
v8::internal::tracing::kNoId, TRACE_EVENT_FLAG_NONE, |
- "runtime-call-stats", |
- TRACE_STR_COPY( |
- p_data_->isolate->counters()->runtime_call_stats()->Dump())); |
+ "runtime-call-stats", TRACE_STR_COPY(p_data_->isolate->counters() |
+ ->runtime_call_stats() |
+ ->Dump() |
+ .c_str())); |
} else { |
v8::internal::tracing::AddTraceEvent( |
TRACE_EVENT_PHASE_END, p_data_->category_group_enabled, p_data_->name, |