diff options
author | grt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 12:19:04 +0000 |
---|---|---|
committer | grt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 12:19:04 +0000 |
commit | e9d09e90e4f98646c5283a78d7a9c55c2f2724d2 (patch) | |
tree | 8af4d7fd06c1cb587c0b1f972f0ebd6ebf50f3b0 | |
parent | 545b531bd0ae4049097d2bec71f7fcfecfc934ab (diff) | |
download | chromium_src-e9d09e90e4f98646c5283a78d7a9c55c2f2724d2.zip chromium_src-e9d09e90e4f98646c5283a78d7a9c55c2f2724d2.tar.gz chromium_src-e9d09e90e4f98646c5283a78d7a9c55c2f2724d2.tar.bz2 |
Remove BrowserList::GetLastActive usage in cocoa-land.
BUG=129187
TEST=none
Review URL: https://chromiumcodereview.appspot.com/11369111
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166398 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/ui/cocoa/last_active_browser_cocoa.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/cocoa/last_active_browser_cocoa.cc b/chrome/browser/ui/cocoa/last_active_browser_cocoa.cc index cb7be50..ad32575 100644 --- a/chrome/browser/ui/cocoa/last_active_browser_cocoa.cc +++ b/chrome/browser/ui/cocoa/last_active_browser_cocoa.cc @@ -4,12 +4,12 @@ #include "chrome/browser/ui/cocoa/last_active_browser_cocoa.h" -#include "chrome/browser/ui/browser_list.h" +#include "chrome/browser/ui/browser_finder.h" namespace chrome { Browser* GetLastActiveBrowser() { - return BrowserList::GetLastActive(); + return browser::FindLastActiveWithHostDesktopType(HOST_DESKTOP_TYPE_NATIVE); } } // namespace chrome |