| Index: ui/aura/desktop/desktop_stacking_client.cc
|
| ===================================================================
|
| --- ui/aura/desktop/desktop_stacking_client.cc (revision 137506)
|
| +++ ui/aura/desktop/desktop_stacking_client.cc (working copy)
|
| @@ -18,7 +18,11 @@
|
| }
|
|
|
| Window* DesktopStackingClient::GetDefaultParent(Window* window) {
|
| - return window->GetRootWindow();
|
| + if (!null_parent_.get()) {
|
| + null_parent_.reset(new aura::RootWindow(gfx::Rect(100, 100)));
|
| + null_parent_->Init();
|
| + }
|
| + return null_parent_.get();
|
| }
|
|
|
| } // namespace aura
|
|
|