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

Unified Diff: services/js/echo_apptest.cc

Issue 1118843003: Remove some InterfacePtr<> methods which directly deal with message pipe handles. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 months 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 | « services/dart/content_handler_app_service_connector.cc ('k') | services/surfaces/display_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/js/echo_apptest.cc
diff --git a/services/js/echo_apptest.cc b/services/js/echo_apptest.cc
index e3f078994af770c000dc5d5c71481d018949d081..220aaa399ddb67d688c65d4e6e1bf003a44e5c97 100644
--- a/services/js/echo_apptest.cc
+++ b/services/js/echo_apptest.cc
@@ -108,7 +108,8 @@ TEST_F(JSEchoTest, ShareEchoService) {
TEST_F(JSServiceProviderEchoTest, UseApplicationServiceProvider) {
mojo::EchoServicePtr echo_service;
mojo::MessagePipe pipe;
- echo_service.Bind(pipe.handle0.Pass());
+ echo_service.Bind(
+ mojo::InterfacePtrInfo<mojo::EchoService>(pipe.handle0.Pass(), 0u));
echo_service_provider_->ConnectToService(
mojo::EchoService::Name_, pipe.handle1.Pass());
String foo;
« no previous file with comments | « services/dart/content_handler_app_service_connector.cc ('k') | services/surfaces/display_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698