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 b97057871f71fff84dc7c8c58109718e59b0e8cb..9916e70830a25592388c3e772149afd0fd57253a 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -790,6 +790,7 @@ void GpuProcessHost::DestroyGpuMemoryBuffer(gfx::GpuMemoryBufferId id, |
void GpuProcessHost::OnInitialized(bool result, const gpu::GPUInfo& gpu_info) { |
UMA_HISTOGRAM_BOOLEAN("GPU.GPUProcessInitialized", result); |
initialized_ = result; |
+ gpu_info_ = gpu_info; |
if (!initialized_) |
GpuDataManagerImpl::GetInstance()->OnGpuProcessInitFailure(); |
@@ -825,8 +826,7 @@ void GpuProcessHost::OnChannelEstablished( |
return; |
} |
- callback.Run(channel_handle, |
- GpuDataManagerImpl::GetInstance()->GetGPUInfo()); |
+ callback.Run(channel_handle, gpu_info_); |
} |
void GpuProcessHost::OnCommandBufferCreated(CreateCommandBufferResult result) { |