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

Unified Diff: content/gpu/gpu_info_collector_mac.mm

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_android.cc ('k') | content/gpu/gpu_info_collector_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_info_collector_mac.mm
diff --git a/content/gpu/gpu_info_collector_mac.mm b/content/gpu/gpu_info_collector_mac.mm
index b3ded51bcea7d6e9b8d7cf970cf77157ecbd2a83..c1714a865edbe097c1fc40f6afffb9038f571de5 100644
--- a/content/gpu/gpu_info_collector_mac.mm
+++ b/content/gpu/gpu_info_collector_mac.mm
@@ -169,7 +169,7 @@ bool CollectContextGraphicsInfo(content::GPUInfo* gpu_info) {
return CollectGraphicsInfoGL(gpu_info);
}
-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;
@@ -178,9 +178,9 @@ bool CollectGpuID(uint32* vendor_id, uint32* device_id) {
if (CollectPCIVideoCardInfo(&gpu_info)) {
*vendor_id = gpu_info.gpu.vendor_id;
*device_id = gpu_info.gpu.device_id;
- return true;
+ return kGpuIDSuccess;
}
- return false;
+ return kGpuIDFailure;
}
bool CollectBasicGraphicsInfo(content::GPUInfo* gpu_info) {
« no previous file with comments | « content/gpu/gpu_info_collector_android.cc ('k') | content/gpu/gpu_info_collector_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698