Index: content/gpu/gpu_info_collector_x11.cc |
diff --git a/content/gpu/gpu_info_collector_x11.cc b/content/gpu/gpu_info_collector_x11.cc |
index 2d43167f26f14c3788c01f450e3d063162cc6d1c..dd9645b15d35a902638d8174c8befecbe84f6f43 100644 |
--- a/content/gpu/gpu_info_collector_x11.cc |
+++ b/content/gpu/gpu_info_collector_x11.cc |
@@ -189,7 +189,7 @@ bool CollectContextGraphicsInfo(content::GPUInfo* gpu_info) { |
return rt; |
} |
-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; |
@@ -198,9 +198,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) { |