summaryrefslogtreecommitdiffstats
path: root/mojo/public/cpp/bindings/lib/binding_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/public/cpp/bindings/lib/binding_state.h')
-rw-r--r--mojo/public/cpp/bindings/lib/binding_state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mojo/public/cpp/bindings/lib/binding_state.h b/mojo/public/cpp/bindings/lib/binding_state.h
index 3d025fb..6483d94 100644
--- a/mojo/public/cpp/bindings/lib/binding_state.h
+++ b/mojo/public/cpp/bindings/lib/binding_state.h
@@ -56,8 +56,8 @@ class BindingState<Interface, false> {
filters.Append<internal::MessageHeaderValidator>();
filters.Append<typename Interface::RequestValidator_>();
- router_ =
- new internal::Router(std::move(handle), std::move(filters), waiter);
+ router_ = new internal::Router(std::move(handle), std::move(filters),
+ Interface::HasSyncMethods_, waiter);
router_->set_incoming_receiver(&stub_);
router_->set_connection_error_handler(
[this]() { connection_error_handler_.Run(); });