Chromium Code Reviews| 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 b4b6dfdfa1fcbfa70b069c49d2b3f885913ab5a2..9d442338efb3aedcd60e62abb85dd0dfddf42e7b 100644 |
| --- a/content/browser/gpu/gpu_process_host.cc |
| +++ b/content/browser/gpu/gpu_process_host.cc |
| @@ -752,6 +752,8 @@ void GpuProcessHost::OnInitialized(bool result, const gpu::GPUInfo& gpu_info) { |
| if (!initialized_) |
| GpuDataManagerImpl::GetInstance()->OnGpuProcessInitFailure(); |
| + else |
| + GpuDataManagerImpl::GetInstance()->UpdateGpuInfo(gpu_info); |
|
piman
2014/03/11 21:32:45
This is needed to avoid races.
GpuChildThread send
|
| } |
| void GpuProcessHost::OnChannelEstablished( |