| Index: content/browser/presentation/presentation_service_impl.cc
|
| diff --git a/content/browser/presentation/presentation_service_impl.cc b/content/browser/presentation/presentation_service_impl.cc
|
| index 80e2aeacd74914cb97eee814b26873ef104ee8e4..97b5ddda7815db89404b56f5ec5c58ee82dbae5a 100644
|
| --- a/content/browser/presentation/presentation_service_impl.cc
|
| +++ b/content/browser/presentation/presentation_service_impl.cc
|
| @@ -169,10 +169,12 @@
|
| mojo::InterfaceRequest<presentation::PresentationService> request) {
|
| binding_.reset(new mojo::Binding<presentation::PresentationService>(
|
| this, request.Pass()));
|
| - binding_->set_connection_error_handler([this]() {
|
| - DVLOG(1) << "Connection error";
|
| - delete this;
|
| - });
|
| + binding_->set_error_handler(this);
|
| +}
|
| +
|
| +void PresentationServiceImpl::OnConnectionError() {
|
| + DVLOG(1) << "OnConnectionError";
|
| + delete this;
|
| }
|
|
|
| void PresentationServiceImpl::SetClient(
|
|
|