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

Unified Diff: content/browser/presentation/presentation_service_impl.cc

Issue 1311613002: Revert of Update mojo sdk to rev c02a28868825edfa57ab77947b8cb15e741c5598 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
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(
« no previous file with comments | « content/browser/presentation/presentation_service_impl.h ('k') | content/child/navigator_connect/service_port_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698