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

Unified Diff: mojo/edk/js/tests/js_to_cpp_tests.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
« no previous file with comments | « mojo/application/public/cpp/lib/application_test_main.cc ('k') | mojo/logging/init_logging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/js/tests/js_to_cpp_tests.cc
diff --git a/mojo/edk/js/tests/js_to_cpp_tests.cc b/mojo/edk/js/tests/js_to_cpp_tests.cc
index f9a9b92ed342ee07bc12770173b63c25cad86822..0307f03fe4ae1aa03f31b41578550102f0f945cc 100644
--- a/mojo/edk/js/tests/js_to_cpp_tests.cc
+++ b/mojo/edk/js/tests/js_to_cpp_tests.cc
@@ -210,7 +210,7 @@ class CppSideConnection : public js_to_cpp::CppSide {
void Bind(InterfaceRequest<js_to_cpp::CppSide> request) {
binding_.Bind(request.Pass());
// Keep the pipe open even after validation errors.
- binding_.internal_router()->EnableTestingMode();
+ binding_.EnableTestingMode();
}
// js_to_cpp::CppSide:
« no previous file with comments | « mojo/application/public/cpp/lib/application_test_main.cc ('k') | mojo/logging/init_logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698