| Index: gpu/config/gpu_test_config.cc
|
| diff --git a/gpu/config/gpu_test_config.cc b/gpu/config/gpu_test_config.cc
|
| index e3d489c25fa656bfdedfcdd7dc89309924743b0c..20bae96c9a3a70d053b648aedd92fbf5df26aa62 100644
|
| --- a/gpu/config/gpu_test_config.cc
|
| +++ b/gpu/config/gpu_test_config.cc
|
| @@ -233,10 +233,9 @@ bool GPUTestBotConfig::LoadCurrentConfig(const GPUInfo* gpu_info) {
|
| bool rt;
|
| if (gpu_info == NULL) {
|
| GPUInfo my_gpu_info;
|
| - GpuIDResult result;
|
| - result = CollectGpuID(&my_gpu_info.gpu.vendor_id,
|
| - &my_gpu_info.gpu.device_id);
|
| - if (result == kGpuIDNotSupported) {
|
| + CollectInfoResult result = CollectGpuID(
|
| + &my_gpu_info.gpu.vendor_id, &my_gpu_info.gpu.device_id);
|
| + if (result == kCollectInfoNotSupported) {
|
| LOG(ERROR) << "Fail to identify GPU";
|
| DisableGPUInfoValidation();
|
| rt = true;
|
|
|