diff options
Diffstat (limited to 'ash/shell_unittest.cc')
-rw-r--r-- | ash/shell_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/shell_unittest.cc b/ash/shell_unittest.cc index b762abb..8885320 100644 --- a/ash/shell_unittest.cc +++ b/ash/shell_unittest.cc @@ -359,7 +359,7 @@ TEST_F(ShellTest, ToggleAutoHide) { window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL); window->SetType(aura::client::WINDOW_TYPE_NORMAL); window->Init(ui::LAYER_TEXTURED); - window->SetParent(NULL); + SetDefaultParentByPrimaryRootWindow(window.get()); window->Show(); wm::ActivateWindow(window.get()); |