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

Unified Diff: ash/wm/stacking_controller.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/wm/stacking_controller.h ('k') | chromecast/graphics/cast_window_manager_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/stacking_controller.cc
diff --git a/ash/wm/stacking_controller.cc b/ash/wm/stacking_controller.cc
index 723265d0dd13012175f31cab1440c55fd43c10fb..47f3d50c30985c326f18cfd5a6a53bedabbe1a8a 100644
--- a/ash/wm/stacking_controller.cc
+++ b/ash/wm/stacking_controller.cc
@@ -19,11 +19,10 @@ StackingController::~StackingController() {}
////////////////////////////////////////////////////////////////////////////////
// StackingController, aura::client::WindowParentingClient implementation:
-aura::Window* StackingController::GetDefaultParent(aura::Window* context,
- aura::Window* window,
+aura::Window* StackingController::GetDefaultParent(aura::Window* window,
const gfx::Rect& bounds) {
- return WmWindow::GetAuraWindow(wm::GetDefaultParent(
- WmWindow::Get(context), WmWindow::Get(window), bounds));
+ return WmWindow::GetAuraWindow(
+ wm::GetDefaultParent(WmWindow::Get(window), bounds));
}
} // namespace ash
« no previous file with comments | « ash/wm/stacking_controller.h ('k') | chromecast/graphics/cast_window_manager_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698