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

Unified Diff: ash/wm/window_util.cc

Issue 10442017: Rename GetRootWindow() -> GetPrimaryRootWindow() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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
Index: ash/wm/window_util.cc
diff --git a/ash/wm/window_util.cc b/ash/wm/window_util.cc
index c71cf192bbbd52571c75059d841c5e5580276428..9b0da7855405922162aa09bc0193c055117fc54d 100644
--- a/ash/wm/window_util.cc
+++ b/ash/wm/window_util.cc
@@ -42,7 +42,7 @@ bool IsActiveWindow(aura::Window* window) {
}
aura::Window* GetActiveWindow() {
- return aura::client::GetActivationClient(Shell::GetRootWindow())->
+ return aura::client::GetActivationClient(Shell::GetPrimaryRootWindow())->
GetActiveWindow();
}

Powered by Google App Engine
This is Rietveld 408576698