Chromium Code Reviews| Index: base/debug/trace_event_impl.cc |
| =================================================================== |
| --- base/debug/trace_event_impl.cc (revision 123703) |
| +++ base/debug/trace_event_impl.cc (working copy) |
| @@ -335,7 +335,11 @@ |
| ANNOTATE_BENIGN_RACE(&g_category_enabled[i], |
| "trace_event category enabled"); |
| } |
| +#if !defined(OS_NACL) // NaCl shouldn't expose the process id. |
|
brettw
2012/02/28 04:43:44
I'd switch this so this is
#if defined(OS_NACL)
|
| SetProcessID(static_cast<int>(base::GetCurrentProcId())); |
| +#else |
| + SetProcessID(0); |
| +#endif |
| } |
| TraceLog::~TraceLog() { |