Chromium Code Reviews| Index: content/gpu/gpu_main.cc |
| diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc |
| index 794617dde93681fba6c84b4bba9635e1cf178bbc..6be5d448931342f009a9b0044005b641bde5d696 100644 |
| --- a/content/gpu/gpu_main.cc |
| +++ b/content/gpu/gpu_main.cc |
| @@ -84,6 +84,8 @@ bool GpuProcessLogMessageHandler(int severity, |
| // Main function for starting the Gpu process. |
| int GpuMain(const MainFunctionParams& parameters) { |
| TRACE_EVENT0("gpu", "GpuMain"); |
| + base::debug::TraceLog::GetInstance()->SetProcessLabel(0, "GPU Process"); |
| + base::debug::TraceLog::GetInstance()->SetProcessSortIndex(3); |
|
dsinclair
2013/06/20 15:01:47
Would it be useful to move some of these magic num
|
| const CommandLine& command_line = parameters.command_line; |
| if (command_line.HasSwitch(switches::kGpuStartupDialog)) { |