Index: mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h |
diff --git a/mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h b/mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h |
index 41fec8981c6bd5ba6875739de4b8b9f6063892d8..2a111eaf190e4e7927b9978c126f5353d2feb930 100644 |
--- a/mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h |
+++ b/mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h |
@@ -80,6 +80,7 @@ class AssociatedInterfacePtrState { |
AssociatedInterfacePtrInfoHelper::PassHandle(&info), nullptr, |
make_scoped_ptr(new typename Interface::ResponseValidator_()))); |
proxy_.reset(new Proxy(endpoint_client_.get())); |
+ proxy_->serialization_context()->router = endpoint_client_->router(); |
} |
// After this method is called, the object is in an invalid state and |