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

Unified Diff: mojo/public/cpp/bindings/tests/validation_unittest.cc

Issue 1455063004: Mojo C++ bindings: introduce MultiplexRouter and related classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes according to review comments Created 5 years, 1 month 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: mojo/public/cpp/bindings/tests/validation_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/validation_unittest.cc b/mojo/public/cpp/bindings/tests/validation_unittest.cc
index fc536c2af5022a6fd33a455dac2a7f02e017eca0..2fd98aa910f2db965406bad9514b3439071ba740 100644
--- a/mojo/public/cpp/bindings/tests/validation_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/validation_unittest.cc
@@ -221,7 +221,9 @@ class ValidationIntegrationTest : public ValidationTest {
public:
TestMessageReceiver(ValidationIntegrationTest* owner,
ScopedMessagePipeHandle handle)
- : owner_(owner), connector_(handle.Pass()) {
+ : owner_(owner),
+ connector_(handle.Pass(),
+ mojo::internal::Connector::SINGLE_THREADED_SEND) {
connector_.set_enforce_errors_from_incoming_receiver(false);
}
~TestMessageReceiver() override {}

Powered by Google App Engine
This is Rietveld 408576698