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

Unified Diff: views/view.cc

Issue 8620002: s/Move/Stack/ in names of stacking-related methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix a test Created 9 years, 1 month 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 | « ui/gfx/compositor/layer_unittest.cc ('k') | views/widget/native_widget_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/view.cc
diff --git a/views/view.cc b/views/view.cc
index 152e41653406d6b7cc759869e23139602a011fa3..b844f4175fd95e56f4e93069f24b2c35027329fa 100644
--- a/views/view.cc
+++ b/views/view.cc
@@ -1192,7 +1192,7 @@ void View::ReorderLayers() {
void View::ReorderChildLayers(ui::Layer* parent_layer) {
if (layer()) {
DCHECK_EQ(parent_layer, layer()->parent());
- parent_layer->MoveToFront(layer());
+ parent_layer->StackAtTop(layer());
} else {
for (Views::const_iterator i(children_.begin()); i != children_.end(); ++i)
(*i)->ReorderChildLayers(parent_layer);
« no previous file with comments | « ui/gfx/compositor/layer_unittest.cc ('k') | views/widget/native_widget_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698