Index: ui/aura_shell/shadow_controller.cc |
diff --git a/ui/aura_shell/shadow_controller.cc b/ui/aura_shell/shadow_controller.cc |
index e2f2d8064a54ae88a3d048e6d6025366f33e97dc..478b689486ba7ba77189e1bd32797240f382587f 100644 |
--- a/ui/aura_shell/shadow_controller.cc |
+++ b/ui/aura_shell/shadow_controller.cc |
@@ -132,11 +132,11 @@ void ShadowController::StackShadowBelowWindow(Shadow* shadow, |
ui::Layer* parent_layer = window->parent()->layer(); |
DCHECK_EQ(shadow->layer()->parent(), parent_layer); |
- // TODO(derat): Add a MoveBelow() method and use that instead (although we |
+ // TODO(derat): Add a StackBelow() method and use that instead (although we |
// then run the risk of other layers getting stacked between a window and its |
// shadow). |
- parent_layer->MoveAbove(shadow->layer(), window->layer()); |
- parent_layer->MoveAbove(window->layer(), shadow->layer()); |
+ parent_layer->StackAbove(shadow->layer(), window->layer()); |
+ parent_layer->StackAbove(window->layer(), shadow->layer()); |
} |
} // namespace internal |