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

Unified Diff: ash/mus/top_level_window_factory.cc

Issue 2762633003: Remove unused |context| from GetDefaultParent(). (Closed)
Patch Set: Fix chromecast compile error. Created 3 years, 9 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 | « ash/common/wm/container_finder.cc ('k') | ash/wm/stacking_controller.h » ('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 d19293c978011329e63cbe7b3958816cc7cbd81f..def7c7741860eca33ef89c7743d973a4745d457b 100644
--- a/ash/mus/top_level_window_factory.cc
+++ b/ash/mus/top_level_window_factory.cc
@@ -189,8 +189,7 @@ aura::Window* CreateAndParentTopLevelWindowInRoot(
.bounds()
.OffsetFromOrigin();
gfx::Rect bounds_in_screen(origin, bounds.size());
- ash::wm::GetDefaultParent(WmWindow::Get(context), WmWindow::Get(window),
- bounds_in_screen)
+ ash::wm::GetDefaultParent(WmWindow::Get(window), bounds_in_screen)
->aura_window()
->AddChild(window);
}
« no previous file with comments | « ash/common/wm/container_finder.cc ('k') | ash/wm/stacking_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698