| Index: content/browser/gpu/gpu_process_host.cc
|
| diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
|
| index fd2d2180ac57f22110b1d2e8b991b31351c5dc6f..7d7b3d33d7be4ade2957a5f57302911d0506b6ff 100644
|
| --- a/content/browser/gpu/gpu_process_host.cc
|
| +++ b/content/browser/gpu/gpu_process_host.cc
|
| @@ -481,6 +481,10 @@ void GpuProcessHost::OnDestroyCommandBuffer(
|
| }
|
|
|
| void GpuProcessHost::OnGraphicsInfoCollected(const content::GPUInfo& gpu_info) {
|
| + // OnGraphicsInfoCollected is sent back after the GPU process successfully
|
| + // initializes GL.
|
| + TRACE_EVENT0("test_gpu", "OnGraphicsInfoCollected");
|
| +
|
| GpuDataManager::GetInstance()->UpdateGpuInfo(gpu_info);
|
| }
|
|
|
| @@ -493,8 +497,6 @@ void GpuProcessHost::OnProcessLaunched() {
|
| // respond to any requests to establish a GPU channel. The response
|
| // to such requests require that the GPU process handle be known.
|
|
|
| - TRACE_EVENT0("test_gpu", "GpuProcessLaunched");
|
| -
|
| base::ProcessHandle child_handle = in_process_ ?
|
| base::GetCurrentProcessHandle() : handle();
|
|
|
|
|