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); |
Ken Russell (switch to Gerrit)
2014/03/11 22:28:41
Why was this "else" branch added? Is there a chanc
Zhenyao Mo
2014/03/11 23:05:31
I don't think this is necessary, as the update wil
|
} |
void GpuProcessHost::OnChannelEstablished( |