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

Unified Diff: content/test/gpu/gpu_test_config.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: content/test/gpu/gpu_test_config.cc
===================================================================
--- content/test/gpu/gpu_test_config.cc (revision 136164)
+++ content/test/gpu/gpu_test_config.cc (working copy)
@@ -128,11 +128,11 @@
}
bool GPUTestBotConfig::SetGPUInfo(const content::GPUInfo& gpu_info) {
- if (gpu_info.device_id == 0 || gpu_info.vendor_id == 0)
+ if (gpu_info.gpu.device_id == 0 || gpu_info.gpu.vendor_id == 0)
return false;
ClearGPUVendor();
- AddGPUVendor(gpu_info.vendor_id);
- set_gpu_device_id(gpu_info.device_id);
+ AddGPUVendor(gpu_info.gpu.vendor_id);
+ set_gpu_device_id(gpu_info.gpu.device_id);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698