diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-24 23:52:59 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-24 23:52:59 +0000 |
commit | c7a32aae2224487528bdafe899af58b1c2b483a1 (patch) | |
tree | 5b3e52dc1d134ec802bf2b0d4d585e473d6e3c9e | |
parent | c03ef219d6f9f196b300c2c2ebdb5f85d2bdee7d (diff) | |
download | chromium_src-c7a32aae2224487528bdafe899af58b1c2b483a1.zip chromium_src-c7a32aae2224487528bdafe899af58b1c2b483a1.tar.gz chromium_src-c7a32aae2224487528bdafe899af58b1c2b483a1.tar.bz2 |
Ensure that the active browser gets pushed into the correct browser list.
In Chrome AURA there could be two browser lists active at any given time. The desktop and the ASH
list.
This ensures that the download shelf shows up when the save item is created in Chrome ASH on Windows 8.
BUG=170483
R=sky
Review URL: https://codereview.chromium.org/12033083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178697 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/ui/browser_list.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/browser_list.cc b/chrome/browser/ui/browser_list.cc index e0976d1..dca3d24 100644 --- a/chrome/browser/ui/browser_list.cc +++ b/chrome/browser/ui/browser_list.cc @@ -67,7 +67,8 @@ size_t BrowserList::size() { // static void BrowserList::SetLastActive(Browser* browser) { - GetNativeList()->SetLastActive(browser); + chrome::BrowserListImpl::GetInstance(browser->host_desktop_type())-> + SetLastActive(browser); } // static |