Index: src/libplatform/tracing/trace-writer.cc |
diff --git a/src/libplatform/tracing/trace-writer.cc b/src/libplatform/tracing/trace-writer.cc |
index b04526f39abfa365ff3f736058aacd3219ee16b6..c4a75d122fb2f0bf6afb753087259143f0d46b9a 100644 |
--- a/src/libplatform/tracing/trace-writer.cc |
+++ b/src/libplatform/tracing/trace-writer.cc |
@@ -107,7 +107,8 @@ void JSONTraceWriter::AppendTraceEvent(TraceObject* trace_event) { |
stream_ << ",\"scope\":\"" << trace_event->scope() << "\""; |
} |
// So as not to lose bits from a 64-bit integer, output as a hex string. |
- stream_ << ",\"id\":\"0x" << std::hex << trace_event->id() << "\""; |
+ stream_ << ",\"id\":\"0x" << std::hex << trace_event->id() << "\"" |
+ << std::dec; |
} |
stream_ << ",\"args\":{"; |
const char** arg_names = trace_event->arg_names(); |