Index: services/ui/view_manager/view_registry.h |
diff --git a/services/ui/view_manager/view_registry.h b/services/ui/view_manager/view_registry.h |
index 3f2b7baf63e95286fd3896cb8a68912fd6779bdd..567d18c64935aeba24f01a4c7ed79a12d400e4c8 100644 |
--- a/services/ui/view_manager/view_registry.h |
+++ b/services/ui/view_manager/view_registry.h |
@@ -73,7 +73,7 @@ class ViewRegistry : public mojo::ui::ViewInspector { |
// Destroys |parent_state| if an error occurs. |
void AddChild(ViewState* parent_state, |
uint32_t child_key, |
- mojo::ui::ViewOwnerPtr child_view_owner); |
+ mojo::InterfaceHandle<mojo::ui::ViewOwner> child_view_owner); |
// Removes a child. |
// Destroys |parent_state| if an error occurs. |
@@ -108,7 +108,7 @@ class ViewRegistry : public mojo::ui::ViewInspector { |
// Destroys |tree_state| if an error occurs. |
void SetRoot(ViewTreeState* tree_state, |
uint32_t root_key, |
- mojo::ui::ViewOwnerPtr root_view_owner); |
+ mojo::InterfaceHandle<mojo::ui::ViewOwner> root_view_owner); |
// Resets the root of the view tree. |
// Destroys |tree_state| if an error occurs. |