Index: content/browser/mojo/mojo_application_host.cc |
diff --git a/content/browser/mojo/mojo_application_host.cc b/content/browser/mojo/mojo_application_host.cc |
index b7529731ed4be3a531e128f87798472dab3c234d..3af797499e0b809e1652411e8670ab62f14ac26e 100644 |
--- a/content/browser/mojo/mojo_application_host.cc |
+++ b/content/browser/mojo/mojo_application_host.cc |
@@ -47,7 +47,7 @@ bool MojoApplicationHost::Init() { |
return true; |
} |
-void MojoApplicationHost::Activate(IPC::Sender* sender, |
+bool MojoApplicationHost::Activate(IPC::Sender* sender, |
base::ProcessHandle process_handle) { |
DCHECK(!did_activate_); |
DCHECK(client_handle_.is_valid()); |
@@ -56,6 +56,7 @@ void MojoApplicationHost::Activate(IPC::Sender* sender, |
PlatformFileFromScopedPlatformHandle(client_handle_.Pass()); |
did_activate_ = sender->Send(new MojoMsg_Activate( |
IPC::GetFileHandleForProcess(client_file, process_handle, true))); |
+ return did_activate_; |
} |
void MojoApplicationHost::WillDestroySoon() { |