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 fb6fc813db6ea53ba3fd14576f61677863259e28..9453df15a1d9cdf64571ac29a4efb052e7a909cd 100644 |
--- a/services/ui/view_manager/view_registry.h |
+++ b/services/ui/view_manager/view_registry.h |
@@ -115,9 +115,9 @@ class ViewRegistry : public mojo::ui::ViewInspector { |
uint32_t root_key, |
mojo::InterfaceHandle<mojo::ui::ViewOwner> root_view_owner); |
- // Resets the root of the view tree. |
+ // Removes the root of the view tree. |
// Destroys |tree_state| if an error occurs. |
- void ResetRoot(ViewTreeState* tree_state, |
+ void ClearRoot(ViewTreeState* tree_state, |
mojo::InterfaceRequest<mojo::ui::ViewOwner> |
transferred_view_owner_request); |