Index: shell/application_manager/shell_impl.cc |
diff --git a/shell/application_manager/shell_impl.cc b/shell/application_manager/shell_impl.cc |
index 0384ed7bc7feccffe2efb195be8bd5e0551baf54..131383eb1795d1faa6885e84fb8f104736e1d488 100644 |
--- a/shell/application_manager/shell_impl.cc |
+++ b/shell/application_manager/shell_impl.cc |
@@ -22,7 +22,8 @@ ShellImpl::ShellImpl(mojo::ApplicationPtr application, |
on_application_end_(on_application_end), |
application_(application.Pass()), |
binding_(this) { |
- binding_.set_error_handler(this); |
+ binding_.set_connection_error_handler( |
+ [this]() { manager_->OnShellImplError(this); }); |
} |
ShellImpl::~ShellImpl() { |
@@ -58,8 +59,4 @@ void ShellImpl::ConnectToApplication( |
exposed_services.Pass(), base::Closure()); |
} |
-void ShellImpl::OnConnectionError() { |
- manager_->OnShellImplError(this); |
-} |
- |
} // namespace shell |