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

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

Issue 1779933003: Mozart: Replace Set/Reset nomenclature with Set/Clear. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-8
Patch Set: Created 4 years, 9 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_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/view_manager/view_tree_impl.cc
diff --git a/services/ui/view_manager/view_tree_impl.cc b/services/ui/view_manager/view_tree_impl.cc
index 9cdcca1b25a4e856266150a4f0cd770c3798a4dd..904188cf27fb28f08e651baa51c1aec372ad4346 100644
--- a/services/ui/view_manager/view_tree_impl.cc
+++ b/services/ui/view_manager/view_tree_impl.cc
@@ -40,9 +40,9 @@ void ViewTreeImpl::SetRoot(
registry_->SetRoot(state_, root_key, root_view_owner.Pass());
}
-void ViewTreeImpl::ResetRoot(mojo::InterfaceRequest<mojo::ui::ViewOwner>
+void ViewTreeImpl::ClearRoot(mojo::InterfaceRequest<mojo::ui::ViewOwner>
transferred_view_owner_request) {
- registry_->ResetRoot(state_, transferred_view_owner_request.Pass());
+ registry_->ClearRoot(state_, transferred_view_owner_request.Pass());
}
static void RunLayoutRootCallback(
« no previous file with comments | « services/ui/view_manager/view_tree_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698