| Index: rlz/mac/lib/machine_id_mac.cc
|
| diff --git a/rlz/mac/lib/machine_id_mac.cc b/rlz/mac/lib/machine_id_mac.cc
|
| index 12b3214ef1033aee60030d64588e49e6c50a380c..f16175b8a197d0115761ddaa5581176565823d73 100644
|
| --- a/rlz/mac/lib/machine_id_mac.cc
|
| +++ b/rlz/mac/lib/machine_id_mac.cc
|
| @@ -25,13 +25,14 @@ namespace {
|
|
|
| // The caller is responsible for freeing |matching_services|.
|
| bool FindEthernetInterfaces(io_iterator_t* matching_services) {
|
| - base::mac::ScopedCFTypeRef<CFMutableDictionaryRef> matching_dict(
|
| + base::ScopedCFTypeRef<CFMutableDictionaryRef> matching_dict(
|
| IOServiceMatching(kIOEthernetInterfaceClass));
|
| if (!matching_dict)
|
| return false;
|
|
|
| - base::mac::ScopedCFTypeRef<CFMutableDictionaryRef> primary_interface(
|
| - CFDictionaryCreateMutable(kCFAllocatorDefault, 0,
|
| + base::ScopedCFTypeRef<CFMutableDictionaryRef> primary_interface(
|
| + CFDictionaryCreateMutable(kCFAllocatorDefault,
|
| + 0,
|
| &kCFTypeDictionaryKeyCallBacks,
|
| &kCFTypeDictionaryValueCallBacks));
|
| if (!primary_interface)
|
| @@ -69,7 +70,7 @@ bool GetMACAddressFromIterator(io_iterator_t primary_interface_iterator,
|
| if (!success)
|
| continue;
|
|
|
| - base::mac::ScopedCFTypeRef<CFTypeRef> mac_data(
|
| + base::ScopedCFTypeRef<CFTypeRef> mac_data(
|
| IORegistryEntryCreateCFProperty(primary_interface_parent,
|
| CFSTR(kIOMACAddress),
|
| kCFAllocatorDefault,
|
| @@ -101,7 +102,7 @@ CFStringRef CopySerialNumber() {
|
| if (!expert_device)
|
| return NULL;
|
|
|
| - base::mac::ScopedCFTypeRef<CFTypeRef> serial_number(
|
| + base::ScopedCFTypeRef<CFTypeRef> serial_number(
|
| IORegistryEntryCreateCFProperty(expert_device,
|
| CFSTR(kIOPlatformSerialNumberKey),
|
| kCFAllocatorDefault,
|
|
|