Index: base/debug/trace_event_impl.cc |
diff --git a/base/debug/trace_event_impl.cc b/base/debug/trace_event_impl.cc |
index a591bacfcd12db4d9011fa8a7cf83205afadfc6b..223e04bc3b0f21c34df0d600ad91e35fadf4daa7 100644 |
--- a/base/debug/trace_event_impl.cc |
+++ b/base/debug/trace_event_impl.cc |
@@ -595,6 +595,10 @@ int TraceLog::AddTraceEvent(char phase, |
return -1; |
} |
} |
+ |
+ if (flags & TRACE_EVENT_FLAG_MANGLE_ID) |
+ id ^= process_id_hash_; |
+ |
ret_begin_id = static_cast<int>(logged_events_.size()); |
logged_events_.push_back( |
TraceEvent(thread_id, |