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

Unified Diff: content/gpu/gpu_info_collector_win.cc

Issue 14944010: Make it possible to run WebGL conformance tests on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Retry upload. Created 7 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
« no previous file with comments | « content/gpu/gpu_info_collector_mac.mm ('k') | content/gpu/gpu_info_collector_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_info_collector_win.cc
diff --git a/content/gpu/gpu_info_collector_win.cc b/content/gpu/gpu_info_collector_win.cc
index 402a4b1a43107a23ca2181f0efaf072e4a69ad18..5ef8dc1b4404792c81f08688d57cb4de61212622 100644
--- a/content/gpu/gpu_info_collector_win.cc
+++ b/content/gpu/gpu_info_collector_win.cc
@@ -518,7 +518,7 @@ bool CollectContextGraphicsInfo(content::GPUInfo* gpu_info) {
return true;
}
-bool CollectGpuID(uint32* vendor_id, uint32* device_id) {
+GpuIDResult CollectGpuID(uint32* vendor_id, uint32* device_id) {
DCHECK(vendor_id && device_id);
*vendor_id = 0;
*device_id = 0;
@@ -542,9 +542,9 @@ bool CollectGpuID(uint32* vendor_id, uint32* device_id) {
base::HexStringToInt(WideToASCII(device_string), &device);
*vendor_id = vendor;
*device_id = device;
- return true;
+ return kGpuIDSuccess;
}
- return false;
+ return kGpuIDFailure;
}
bool CollectBasicGraphicsInfo(content::GPUInfo* gpu_info) {
« no previous file with comments | « content/gpu/gpu_info_collector_mac.mm ('k') | content/gpu/gpu_info_collector_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698