Index: content/gpu/gpu_child_thread.cc |
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc |
index 4f774464649fbf94d3de2315b105657b5d94cb01..301523fa36b9abefa30352b5b3f40deb7491fec8 100644 |
--- a/content/gpu/gpu_child_thread.cc |
+++ b/content/gpu/gpu_child_thread.cc |
@@ -197,6 +197,9 @@ void GpuChildThread::OnCollectGraphicsInfo() { |
case gpu::kCollectInfoNonFatalFailure: |
VLOG(1) << "gpu::CollectGraphicsInfo failed (non-fatal)."; |
break; |
+ case gpu::kCollectInfoNone: |
+ NOTREACHED(); |
+ break; |
case gpu::kCollectInfoSuccess: |
break; |
} |
@@ -207,7 +210,7 @@ void GpuChildThread::OnCollectGraphicsInfo() { |
// and GpuDataManager prevents us from sending multiple collecting requests, |
// so it's OK to be blocking. |
gpu::GetDxDiagnostics(&gpu_info_.dx_diagnostics); |
- gpu_info_.finalized = true; |
+ gpu_info_.dx_diagnostics_info_state = gpu::kCollectInfoSuccess; |
#endif // OS_WIN |
Send(new GpuHostMsg_GraphicsInfoCollected(gpu_info_)); |