Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3298)

Unified Diff: ash/mus/top_level_window_factory.cc

Issue 2826453003: Makes functions in container_finder take aura::Window (Closed)
Patch Set: cleanup Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/mus/window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/top_level_window_factory.cc
diff --git a/ash/mus/top_level_window_factory.cc b/ash/mus/top_level_window_factory.cc
index 0a921198c97961c73e3c0fe6ccb87806d5fd5fa9..7fa50bdbf485eed84c23fccffd5e70ab658564d0 100644
--- a/ash/mus/top_level_window_factory.cc
+++ b/ash/mus/top_level_window_factory.cc
@@ -187,9 +187,7 @@ aura::Window* CreateAndParentTopLevelWindowInRoot(
.bounds()
.OffsetFromOrigin();
gfx::Rect bounds_in_screen(origin, bounds.size());
- ash::wm::GetDefaultParent(WmWindow::Get(window), bounds_in_screen)
- ->aura_window()
- ->AddChild(window);
+ ash::wm::GetDefaultParent(window, bounds_in_screen)->AddChild(window);
}
return window;
}
« no previous file with comments | « no previous file | ash/mus/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698