Index: chrome/browser/gpu_process_host_ui_shim.cc |
=================================================================== |
--- chrome/browser/gpu_process_host_ui_shim.cc (revision 69024) |
+++ chrome/browser/gpu_process_host_ui_shim.cc (working copy) |
@@ -104,6 +104,10 @@ |
void GpuProcessHostUIShim::OnGraphicsInfoCollected(const GPUInfo& gpu_info) { |
gpu_info_ = gpu_info; |
child_process_logging::SetGpuInfo(gpu_info); |
+ |
+ // Used only in testing. |
+ if (gpu_info_collected_callback_.get()) |
+ gpu_info_collected_callback_->Run(); |
} |
void GpuProcessHostUIShim::OnScheduleComposite(int renderer_id, |