| Index: content/gpu/gpu_main.cc
|
| diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
|
| index 221361feae2df5fe75e05fa3fe72fc60ca889f83..22a8bf30711b79a6288e504c054d8ae522174137 100644
|
| --- a/content/gpu/gpu_main.cc
|
| +++ b/content/gpu/gpu_main.cc
|
| @@ -17,6 +17,7 @@
|
| #include "base/threading/platform_thread.h"
|
| #include "build/build_config.h"
|
| #include "content/child/child_process.h"
|
| +#include "content/common/content_constants_internal.h"
|
| #include "content/common/gpu/gpu_config.h"
|
| #include "content/common/gpu/gpu_messages.h"
|
| #include "content/common/sandbox_linux.h"
|
| @@ -84,6 +85,9 @@ bool GpuProcessLogMessageHandler(int severity,
|
| // Main function for starting the Gpu process.
|
| int GpuMain(const MainFunctionParams& parameters) {
|
| TRACE_EVENT0("gpu", "GpuMain");
|
| + base::debug::TraceLog::GetInstance()->SetProcessName("GPU Process");
|
| + base::debug::TraceLog::GetInstance()->SetProcessSortIndex(
|
| + kTraceEventGpuProcessSortIndex);
|
|
|
| const CommandLine& command_line = parameters.command_line;
|
| if (command_line.HasSwitch(switches::kGpuStartupDialog)) {
|
|
|