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

Unified Diff: services/ui/view_manager/view_registry.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_registry.h ('k') | services/ui/view_manager/view_tree_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/view_manager/view_registry.cc
diff --git a/services/ui/view_manager/view_registry.cc b/services/ui/view_manager/view_registry.cc
index d0fb966829c5cb08137a7668b4f2b2db52771679..9622d08b12928e70c3855a0c86971e9aa1ed221f 100644
--- a/services/ui/view_manager/view_registry.cc
+++ b/services/ui/view_manager/view_registry.cc
@@ -334,11 +334,11 @@ void ViewRegistry::SetRoot(
InvalidateLayoutForRoot(tree_state);
}
-void ViewRegistry::ResetRoot(ViewTreeState* tree_state,
+void ViewRegistry::ClearRoot(ViewTreeState* tree_state,
mojo::InterfaceRequest<mojo::ui::ViewOwner>
transferred_view_owner_request) {
DCHECK(IsViewTreeStateRegisteredDebug(tree_state));
- DVLOG(1) << "ResetRoot: tree=" << tree_state;
+ DVLOG(1) << "ClearRoot: tree=" << tree_state;
// Ensure there is a root.
if (!tree_state->root()) {
@@ -773,7 +773,7 @@ void ViewRegistry::UpdateViewTreeRootScene(ViewTreeState* tree_state) {
}
}
- tree_state->renderer()->ResetRootScene();
+ tree_state->renderer()->ClearRootScene();
}
void ViewRegistry::OnRendererDied(ViewTreeState* tree_state) {
« no previous file with comments | « services/ui/view_manager/view_registry.h ('k') | services/ui/view_manager/view_tree_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698