diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-27 16:24:46 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-27 16:24:46 +0000 |
commit | db9d45a5f52c126f7f414d7531ccd40cd6e2d313 (patch) | |
tree | 010a433af09060fde28c6107e472977b6ebe74fd /chrome/browser/download/chrome_download_manager_delegate.cc | |
parent | 17de2f9b82e9dd71fc88c9b81a52bc204c6efb2f (diff) | |
download | chromium_src-db9d45a5f52c126f7f414d7531ccd40cd6e2d313.zip chromium_src-db9d45a5f52c126f7f414d7531ccd40cd6e2d313.tar.gz chromium_src-db9d45a5f52c126f7f414d7531ccd40cd6e2d313.tar.bz2 |
Revert 169654 - FindLastActiveWithProfile now requires a HostDesktopType.
BUG=129187
TEST=none
Review URL: https://chromiumcodereview.appspot.com/11365128
Speculative revert to fix Win Aura crash in unit test
ExtensionServiceTest.LoadExtensionsWithPlugins.
TBR=grt@chromium.org
Review URL: https://codereview.chromium.org/11413189
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/chrome_download_manager_delegate.cc')
-rw-r--r-- | chrome/browser/download/chrome_download_manager_delegate.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc index 8e1c8e1..a142d12 100644 --- a/chrome/browser/download/chrome_download_manager_delegate.cc +++ b/chrome/browser/download/chrome_download_manager_delegate.cc @@ -36,7 +36,6 @@ #include "chrome/browser/profiles/profile.h" #include "chrome/browser/safe_browsing/safe_browsing_service.h" #include "chrome/browser/ui/browser_tabstrip.h" -#include "chrome/browser/ui/host_desktop.h" #include "chrome/common/chrome_notification_types.h" #include "chrome/common/extensions/feature_switch.h" #include "chrome/common/extensions/user_script.h" @@ -266,8 +265,7 @@ WebContents* ChromeDownloadManagerDelegate:: #else // Start the download in the last active browser. This is not ideal but better // than fully hiding the download from the user. - Browser* last_active = chrome::FindLastActiveWithProfile(profile_, - chrome::GetActiveDesktop()); + Browser* last_active = chrome::FindLastActiveWithProfile(profile_); return last_active ? chrome::GetActiveWebContents(last_active) : NULL; #endif } |