Index: base/sys_info_ios.mm |
diff --git a/base/sys_info_ios.mm b/base/sys_info_ios.mm |
index 0e24a2a4f59d42aae0ff125e28199be71c6f9f95..5aa3180976e76ec01732b20402d1d5a5f6a92b3a 100644 |
--- a/base/sys_info_ios.mm |
+++ b/base/sys_info_ios.mm |
@@ -66,7 +66,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); |