Index: mojo/public/cpp/bindings/associated_binding.h |
diff --git a/mojo/public/cpp/bindings/associated_binding.h b/mojo/public/cpp/bindings/associated_binding.h |
index bd6b203b8c8bcd56b6daf519cd2f8737b71ed23b..b6b7cd1098cf55bf19dea7a2ca4fd4648f217443 100644 |
--- a/mojo/public/cpp/bindings/associated_binding.h |
+++ b/mojo/public/cpp/bindings/associated_binding.h |
@@ -79,9 +79,10 @@ class AssociatedBinding { |
endpoint_client_.reset(new internal::InterfaceEndpointClient( |
handle.Pass(), &stub_, |
make_scoped_ptr(new typename Interface::RequestValidator_()))); |
- |
endpoint_client_->set_connection_error_handler( |
[this]() { connection_error_handler_.Run(); }); |
+ |
+ stub_.serialization_context()->router = endpoint_client_->router(); |
} |
// Closes the associated interface. Puts this object into a state where it can |