Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1665)

Unified Diff: chrome/common/child_process_logging_posix.cc

Issue 10389051: Change GPUInfo to handle multiple GPUs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/child_process_logging_posix.cc
===================================================================
--- chrome/common/child_process_logging_posix.cc (revision 136164)
+++ chrome/common/child_process_logging_posix.cc (working copy)
@@ -89,8 +89,8 @@
}
void SetGpuInfo(const content::GPUInfo& gpu_info) {
- snprintf(g_gpu_vendor_id, kGpuStringSize, "0x%04x", gpu_info.vendor_id);
- snprintf(g_gpu_device_id, kGpuStringSize, "0x%04x", gpu_info.device_id);
+ snprintf(g_gpu_vendor_id, kGpuStringSize, "0x%04x", gpu_info.gpu.vendor_id);
+ snprintf(g_gpu_device_id, kGpuStringSize, "0x%04x", gpu_info.gpu.device_id);
strncpy(g_gpu_driver_ver,
gpu_info.driver_version.c_str(),
kGpuStringSize - 1);

Powered by Google App Engine
This is Rietveld 408576698