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

Unified Diff: ash/common/wm/container_finder.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.h ('k') | ash/mus/top_level_window_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/container_finder.cc
diff --git a/ash/common/wm/container_finder.cc b/ash/common/wm/container_finder.cc
index 95207ec36931a2c615ba6555ee1a3292ab13685f..996fdc89fb1ba9ddc097d5e2fb89e4f94a5c90c0 100644
--- a/ash/common/wm/container_finder.cc
+++ b/ash/common/wm/container_finder.cc
@@ -70,9 +70,7 @@ WmWindow* GetContainerForWindow(WmWindow* window) {
return parent;
}
-WmWindow* GetDefaultParent(WmWindow* context,
- WmWindow* window,
- const gfx::Rect& bounds) {
+WmWindow* GetDefaultParent(WmWindow* window, const gfx::Rect& bounds) {
WmWindow* target_root = nullptr;
WmWindow* transient_parent = window->GetTransientParent();
if (transient_parent) {
« no previous file with comments | « ash/common/wm/container_finder.h ('k') | ash/mus/top_level_window_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698