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

Unified Diff: ui/aura/client/window_parenting_client.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 | « ui/aura/client/window_parenting_client.h ('k') | ui/aura/demo/demo_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/window_parenting_client.cc
diff --git a/ui/aura/client/window_parenting_client.cc b/ui/aura/client/window_parenting_client.cc
index d667a0263f16c95d73fd9305b8193e4dc20ea075..daeb4fa36087f152195886233ee418f9d1efd2b5 100644
--- a/ui/aura/client/window_parenting_client.cc
+++ b/ui/aura/client/window_parenting_client.cc
@@ -46,8 +46,7 @@ void ParentWindowWithContext(Window* window,
// |context| must be attached to a hierarchy with a WindowParentingClient.
WindowParentingClient* client = GetWindowParentingClient(context);
DCHECK(client);
- Window* default_parent =
- client->GetDefaultParent(context, window, screen_bounds);
+ Window* default_parent = client->GetDefaultParent(window, screen_bounds);
default_parent->AddChild(window);
}
« no previous file with comments | « ui/aura/client/window_parenting_client.h ('k') | ui/aura/demo/demo_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698