| Index: gpu/config/gpu_info_collector_mac.mm
|
| diff --git a/gpu/config/gpu_info_collector_mac.mm b/gpu/config/gpu_info_collector_mac.mm
|
| index 9ba1daa4c6c46339cd9ec85ebc68ceef063dc70a..7fecec0ec99c7bd0293a442094229633c28deade 100644
|
| --- a/gpu/config/gpu_info_collector_mac.mm
|
| +++ b/gpu/config/gpu_info_collector_mac.mm
|
| @@ -54,6 +54,12 @@ UInt32 GetEntryProperty(io_registry_entry_t entry, CFStringRef property_name) {
|
| return value;
|
| }
|
|
|
| +// CGDisplayIOServicePort is deprecated as of macOS 10.9, but has no
|
| +// replacement.
|
| +// https://crbug.com/650837
|
| +#pragma clang diagnostic push
|
| +#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
| +
|
| // Find the info of the current GPU.
|
| GPUInfo::GPUDevice GetActiveGPU() {
|
| GPUInfo::GPUDevice gpu;
|
| @@ -63,6 +69,8 @@ UInt32 GetEntryProperty(io_registry_entry_t entry, CFStringRef property_name) {
|
| return gpu;
|
| }
|
|
|
| +#pragma clang diagnostic pop
|
| +
|
| // Scan IO registry for PCI video cards.
|
| CollectInfoResult CollectPCIVideoCardInfo(GPUInfo* gpu_info) {
|
| DCHECK(gpu_info);
|
|
|