Index: ash/wm/workspace/workspace_layout_manager_unittest.cc |
diff --git a/ash/wm/workspace/workspace_layout_manager_unittest.cc b/ash/wm/workspace/workspace_layout_manager_unittest.cc |
index 13f281761a1eafd37da97ecc20cde215a8faee2a..d7116cfd128128bb94174d3b1e06452706048f74 100644 |
--- a/ash/wm/workspace/workspace_layout_manager_unittest.cc |
+++ b/ash/wm/workspace/workspace_layout_manager_unittest.cc |
@@ -260,7 +260,7 @@ TEST_F(WorkspaceLayoutManagerTest, DontClobberRestoreBounds) { |
// NOTE: for this test to exercise the failure the observer needs to be added |
// before the parent set. This mimics what BrowserFrameAsh does. |
window->AddObserver(&window_observer); |
- SetDefaultParentByPrimaryRootWindow(window.get()); |
+ ParentWindowInPrimaryRootWindow(window.get()); |
window->Show(); |
wm::WindowState* window_state = wm::GetWindowState(window.get()); |