Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Unified Diff: content/common/mojo/mojo_shell_connection_impl.cc

Issue 1920033005: services/shell: Fix running the connection-lost callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/mojo/embedded_application_runner.cc ('k') | content/public/common/mojo_shell_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mojo/mojo_shell_connection_impl.cc
diff --git a/content/common/mojo/mojo_shell_connection_impl.cc b/content/common/mojo/mojo_shell_connection_impl.cc
index 90ad7002f00a484e9c2c48f64676cf031f492b05..f3b9be56e24e751f008e0225952e3a1de3bdbee2 100644
--- a/content/common/mojo/mojo_shell_connection_impl.cc
+++ b/content/common/mojo/mojo_shell_connection_impl.cc
@@ -122,7 +122,7 @@ bool MojoShellConnectionImpl::UsingExternalShell() const {
void MojoShellConnectionImpl::SetConnectionLostClosure(
const base::Closure& closure) {
- shell_connection_->set_connection_lost_closure(closure);
+ shell_connection_->SetConnectionLostClosure(closure);
}
void MojoShellConnectionImpl::AddListener(std::unique_ptr<Listener> listener) {
« no previous file with comments | « content/common/mojo/embedded_application_runner.cc ('k') | content/public/common/mojo_shell_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698