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

Unified Diff: services/ui/view_manager/view_tree_host_impl.cc

Issue 1682113003: Mojo C++ bindings: Generate InterfaceHandle<> instead of InterfacePtr<>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase ontop of master, address trung's comments 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 | « services/ui/view_manager/view_tree_host_impl.h ('k') | shell/application_manager/application_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/view_manager/view_tree_host_impl.cc
diff --git a/services/ui/view_manager/view_tree_host_impl.cc b/services/ui/view_manager/view_tree_host_impl.cc
index bbfc208a1a53748e9637f65ca1b49a24f073433d..0cd80be1a28360265f25e697ebd3838332a6053b 100644
--- a/services/ui/view_manager/view_tree_host_impl.cc
+++ b/services/ui/view_manager/view_tree_host_impl.cc
@@ -28,8 +28,9 @@ void ViewTreeHostImpl::RequestLayout() {
registry_->RequestLayout(state_);
}
-void ViewTreeHostImpl::SetRoot(uint32_t root_key,
- mojo::ui::ViewOwnerPtr root_view_owner) {
+void ViewTreeHostImpl::SetRoot(
+ uint32_t root_key,
+ mojo::InterfaceHandle<mojo::ui::ViewOwner> root_view_owner) {
registry_->SetRoot(state_, root_key, root_view_owner.Pass());
}
« no previous file with comments | « services/ui/view_manager/view_tree_host_impl.h ('k') | shell/application_manager/application_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698