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

Unified Diff: services/dart/content_handler_app_service_connector.cc

Issue 1677753002: Mojo C++ bindings: InterfacePtr::PassInterface -> PassInterfaceHandle (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 10 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 | « mojo/services/log/cpp/lib/log_client.cc ('k') | services/gfx/compositor/backend/gpu_output.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/dart/content_handler_app_service_connector.cc
diff --git a/services/dart/content_handler_app_service_connector.cc b/services/dart/content_handler_app_service_connector.cc
index f1b0c8759c0b68370edec30f33685bc0b12d3827..38233cc76f26b918bed88b9c5297ce9175c0d3d4 100644
--- a/services/dart/content_handler_app_service_connector.cc
+++ b/services/dart/content_handler_app_service_connector.cc
@@ -54,7 +54,7 @@ MojoHandle ContentHandlerAppServiceConnector::ConnectToService(
application_name,
base::Passed(GetProxy(&interface_ptr))));
// Return proxy end of pipe to caller.
- return interface_ptr.PassInterface().PassHandle().release().value();
+ return interface_ptr.PassInterfaceHandle().PassHandle().release().value();
}
case mojo::dart::DartControllerServiceConnector::kFilesServiceId: {
std::string application_name = "mojo:files";
@@ -65,7 +65,7 @@ MojoHandle ContentHandlerAppServiceConnector::ConnectToService(
weak_ptr_factory_.GetWeakPtr(),
application_name,
base::Passed(GetProxy(&interface_ptr))));
- return interface_ptr.PassInterface().PassHandle().release().value();
+ return interface_ptr.PassInterfaceHandle().PassHandle().release().value();
}
break;
default:
« no previous file with comments | « mojo/services/log/cpp/lib/log_client.cc ('k') | services/gfx/compositor/backend/gpu_output.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698