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

Unified Diff: examples/notification_generator/notification_generator.cc

Issue 1682113003: Mojo C++ bindings: Generate InterfaceHandle<> instead of InterfacePtr<>. (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
Index: examples/notification_generator/notification_generator.cc
diff --git a/examples/notification_generator/notification_generator.cc b/examples/notification_generator/notification_generator.cc
index 0d7f755879b3fb345751c92e8f468dc0d2f319ba..4d531edfe625b21257fbe9f7c3beb08c35d41e36 100644
--- a/examples/notification_generator/notification_generator.cc
+++ b/examples/notification_generator/notification_generator.cc
@@ -63,7 +63,7 @@ class NotificationGeneratorDelegate : public mojo::ApplicationDelegate,
auto request = mojo::GetProxy(&notification_client);
client_bindings_.AddBinding(this, request.Pass());
notification_service_->Post(CreateNotificationData(title, text).Pass(),
- notification_client.Pass(),
+ notification_client.PassInterfaceHandle(),
GetProxy(notification));
}

Powered by Google App Engine
This is Rietveld 408576698