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) { |