diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-14 06:20:22 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-14 06:20:22 +0000 |
commit | 5b0ca087e16d3c8810763fd3630d8c59d7574ba1 (patch) | |
tree | f5700cbe0040fe38cbf3a48fbdf72931910f06b1 /ash/focus_cycler.cc | |
parent | 98a5bb04453b7dedddd2feb60344c3a42d9cf5b4 (diff) | |
download | chromium_src-5b0ca087e16d3c8810763fd3630d8c59d7574ba1.zip chromium_src-5b0ca087e16d3c8810763fd3630d8c59d7574ba1.tar.gz chromium_src-5b0ca087e16d3c8810763fd3630d8c59d7574ba1.tar.bz2 |
Replace Shell::GetRootWindow with Window::GetRootWindow
where this makes sense. I didn't change the class that is
potentially global and not root specific.
This also removes ToplevelLayoutManager that is not longer in use.
BUG=115510
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9665016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/focus_cycler.cc')
-rw-r--r-- | ash/focus_cycler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/focus_cycler.cc b/ash/focus_cycler.cc index 29dea55..9c4dab1 100644 --- a/ash/focus_cycler.cc +++ b/ash/focus_cycler.cc @@ -66,7 +66,7 @@ void FocusCycler::RotateFocus(Direction direction) { Shell::GetInstance()->delegate()->GetCycleWindowList( ShellDelegate::SOURCE_LAUNCHER); if (!windows.empty()) { - aura::client::GetActivationClient(Shell::GetRootWindow())-> + aura::client::GetActivationClient(windows[0]->GetRootWindow())-> ActivateWindow(windows[0]); break; } |