summaryrefslogtreecommitdiffstats
path: root/gpu/config/gpu_info_collector_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/config/gpu_info_collector_mac.mm')
-rw-r--r--gpu/config/gpu_info_collector_mac.mm14
1 files changed, 7 insertions, 7 deletions
diff --git a/gpu/config/gpu_info_collector_mac.mm b/gpu/config/gpu_info_collector_mac.mm
index c47a244..1f7fad1 100644
--- a/gpu/config/gpu_info_collector_mac.mm
+++ b/gpu/config/gpu_info_collector_mac.mm
@@ -35,13 +35,13 @@ const UInt32 kVendorIDAMD = 0x1002;
// Return 0 if we couldn't find the property.
// The property values we use should not be 0, so it's OK to use 0 as failure.
UInt32 GetEntryProperty(io_registry_entry_t entry, CFStringRef property_name) {
- base::mac::ScopedCFTypeRef<CFDataRef> data_ref(static_cast<CFDataRef>(
- IORegistryEntrySearchCFProperty(entry,
- kIOServicePlane,
- property_name,
- kCFAllocatorDefault,
- kIORegistryIterateRecursively |
- kIORegistryIterateParents)));
+ base::ScopedCFTypeRef<CFDataRef> data_ref(
+ static_cast<CFDataRef>(IORegistryEntrySearchCFProperty(
+ entry,
+ kIOServicePlane,
+ property_name,
+ kCFAllocatorDefault,
+ kIORegistryIterateRecursively | kIORegistryIterateParents)));
if (!data_ref)
return 0;