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

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

Issue 1473273003: Mojo C++ bindings: InterfacePtr<T> and Binding<T> use MultiplexRouter when T passes associated inte… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2fd98aa910f2db965406bad9514b3439071ba740..0d4a71f31896cc17b60b06eac59a4310757a988d 100644
--- a/mojo/public/cpp/bindings/tests/validation_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/validation_unittest.cc
@@ -408,7 +408,7 @@ TEST_F(ValidationTest, ResponseBoundsCheck) {
TEST_F(ValidationIntegrationTest, InterfacePtr) {
IntegrationTestInterfacePtr interface_ptr = MakeProxy(
InterfacePtrInfo<IntegrationTestInterface>(testee_endpoint().Pass(), 0u));
- interface_ptr.internal_state()->router_for_testing()->EnableTestingMode();
+ interface_ptr.internal_state()->EnableTestingMode();
RunValidationTests("integration_intf_resp", test_message_receiver());
RunValidationTests("integration_msghdr", test_message_receiver());
@@ -423,7 +423,7 @@ TEST_F(ValidationIntegrationTest, Binding) {
Binding<IntegrationTestInterface> binding(
&interface_impl,
MakeRequest<IntegrationTestInterface>(testee_endpoint().Pass()));
- binding.internal_router()->EnableTestingMode();
+ binding.EnableTestingMode();
RunValidationTests("integration_intf_rqst", test_message_receiver());
RunValidationTests("integration_msghdr", test_message_receiver());

Powered by Google App Engine
This is Rietveld 408576698