| Index: content/app/content_main_runner.cc
|
| diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
|
| index d8d61ca5d87e06ebdc1eff6e6bdf9fadb2f02baa..3e11d5b7051531762d9be5bdc41b6d3c5b66161e 100644
|
| --- a/content/app/content_main_runner.cc
|
| +++ b/content/app/content_main_runner.cc
|
| @@ -186,8 +186,9 @@ void SendTaskPortToParentProcess() {
|
| std::string mach_port_name = MachBroker::GetMachPortName();
|
|
|
| base::MachSendMessage child_message(kMessageId);
|
| - if (!child_message.AddDescriptor(mach_task_self())) {
|
| - LOG(ERROR) << "child AddDescriptor(mach_task_self()) failed.";
|
| + base::MachMsgPortDescriptor descriptor(mach_task_self());
|
| + if (!child_message.AddDescriptor(descriptor)) {
|
| + LOG(ERROR) << "child AddDescriptor(descriptor)) failed.";
|
| return;
|
| }
|
|
|
|
|