Index: util/test/mac/mach_multiprocess.cc |
diff --git a/util/test/mac/mach_multiprocess.cc b/util/test/mac/mach_multiprocess.cc |
index a8503fa3b08c40f9fbcef04e7f1c02c10dedcb69..8bb50c6aca13054c3cf7211a70feda80c99f3fef 100644 |
--- a/util/test/mac/mach_multiprocess.cc |
+++ b/util/test/mac/mach_multiprocess.cc |
@@ -55,7 +55,8 @@ struct MachMultiprocessInfo { |
: service_name(), |
local_port(MACH_PORT_NULL), |
remote_port(MACH_PORT_NULL), |
- child_task(MACH_PORT_NULL) {} |
+ child_task(TASK_NULL) { |
+ } |
std::string service_name; |
base::mac::ScopedMachReceiveRight local_port; |
@@ -112,7 +113,7 @@ mach_port_t MachMultiprocess::RemotePort() const { |
} |
task_t MachMultiprocess::ChildTask() const { |
- EXPECT_NE(kMachPortNull, info_->child_task); |
+ EXPECT_NE(TASK_NULL, info_->child_task); |
return info_->child_task; |
} |