summaryrefslogtreecommitdiffstats
path: root/ui/aura_shell/desktop_window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura_shell/desktop_window.cc')
-rw-r--r--ui/aura_shell/desktop_window.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/aura_shell/desktop_window.cc b/ui/aura_shell/desktop_window.cc
index 373f647..616ba28 100644
--- a/ui/aura_shell/desktop_window.cc
+++ b/ui/aura_shell/desktop_window.cc
@@ -21,13 +21,11 @@ void CreateSpecialContainers(aura::Window::Windows* containers) {
internal::kShellWindowId_DesktopBackgroundContainer);
containers->push_back(background_container);
- aura::Window* default_container = new aura::internal::ToplevelWindowContainer;
+ aura::Window* default_container = new aura::ToplevelWindowContainer;
default_container->set_id(internal::kShellWindowId_DefaultContainer);
- aura::Desktop::GetInstance()->set_default_parent(default_container);
containers->push_back(default_container);
- aura::Window* always_on_top_container =
- new aura::internal::ToplevelWindowContainer;
+ aura::Window* always_on_top_container = new aura::ToplevelWindowContainer;
always_on_top_container->set_id(
internal::kShellWindowId_AlwaysOnTopContainer);
containers->push_back(always_on_top_container);