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/chromeos/extensions/file_manager_util.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/chromeos/extensions/file_manager_util.cc')
-rw-r--r-- | chrome/browser/chromeos/extensions/file_manager_util.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/extensions/file_manager_util.cc b/chrome/browser/chromeos/extensions/file_manager_util.cc index 381966f..9ea26b5 100644 --- a/chrome/browser/chromeos/extensions/file_manager_util.cc +++ b/chrome/browser/chromeos/extensions/file_manager_util.cc @@ -612,8 +612,7 @@ bool ExecuteDefaultHandler(Profile* profile, const FilePath& path) { std::string extension_id = handler->extension_id(); std::string action_id = handler->id(); - Browser* browser = chrome::FindLastActiveWithProfile(profile, - chrome::HOST_DESKTOP_TYPE_ASH); + Browser* browser = chrome::FindLastActiveWithProfile(profile); // If there is no browsers for the profile, bail out. Return true so warning // about file type not being supported is not displayed. |