| Index: ui/aura_shell/shell.cc
|
| ===================================================================
|
| --- ui/aura_shell/shell.cc (revision 114527)
|
| +++ ui/aura_shell/shell.cc (working copy)
|
| @@ -124,8 +124,6 @@
|
| delegate_(delegate) {
|
| aura::RootWindow::GetInstance()->SetEventFilter(
|
| new internal::RootWindowEventFilter);
|
| - aura::RootWindow::GetInstance()->SetStackingClient(
|
| - new internal::StackingController);
|
| }
|
|
|
| Shell::~Shell() {
|
| @@ -196,10 +194,7 @@
|
| (*i)->Show();
|
| }
|
|
|
| - internal::StackingController* stacking_controller =
|
| - static_cast<internal::StackingController*>(
|
| - root_window->stacking_client());
|
| - stacking_controller->Init();
|
| + stacking_controller_.reset(new internal::StackingController);
|
|
|
| InitLayoutManagers(root_window);
|
|
|
|
|