| Index: base/sys_info_mac.cc
|
| diff --git a/base/sys_info_mac.cc b/base/sys_info_mac.cc
|
| index 18df62482ea119db2d865f1745cf9de271767a19..025c768f3cf96a855b9c0b4f1ce15c386dce7bb9 100644
|
| --- a/base/sys_info_mac.cc
|
| +++ b/base/sys_info_mac.cc
|
| @@ -46,7 +46,7 @@ int64 SysInfo::AmountOfPhysicalMemory() {
|
| struct host_basic_info hostinfo;
|
| mach_msg_type_number_t count = HOST_BASIC_INFO_COUNT;
|
| base::mac::ScopedMachSendRight host(mach_host_self());
|
| - int result = host_info(host,
|
| + int result = host_info(host.get(),
|
| HOST_BASIC_INFO,
|
| reinterpret_cast<host_info_t>(&hostinfo),
|
| &count);
|
|
|