commit | 694256079ad9864e39f78c5e17eb9c40fad9597c | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Nov 29 13:40:34 2012 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Nov 29 13:40:34 2012 |
tree | e6244ee48d971ac08c3da8d2e66e472664504858 | |
parent | b600565dbb0893deabece1cd8b7832f4030f4836 [diff] [blame] |
FindLastActiveWithProfile now requires a HostDesktopType. BUG=129187 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=169654 Review URL: https://codereview.chromium.org/11365128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170176 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm index e10bc195..09ca8aac 100644 --- a/chrome/browser/app_controller_mac.mm +++ b/chrome/browser/app_controller_mac.mm
@@ -102,7 +102,8 @@ // not possible. If the last active browser is minimized (in particular, if // there are only minimized windows), it will unminimize it. Browser* ActivateBrowser(Profile* profile) { - Browser* browser = chrome::FindLastActiveWithProfile(profile); + Browser* browser = chrome::FindLastActiveWithProfile(profile, + chrome::HOST_DESKTOP_TYPE_NATIVE); if (browser) browser->window()->Activate(); return browser;