Index: chrome/browser/extensions/api/downloads/downloads_api.cc |
diff --git a/chrome/browser/extensions/api/downloads/downloads_api.cc b/chrome/browser/extensions/api/downloads/downloads_api.cc |
index ae841dcf5c0e2acbdc5f5e65dc90c3ee02b2094a..255789fbaa29a2e129762e0e7626e4a7acdd0033 100644 |
--- a/chrome/browser/extensions/api/downloads/downloads_api.cc |
+++ b/chrome/browser/extensions/api/downloads/downloads_api.cc |
@@ -1330,9 +1330,9 @@ bool DownloadsShowDefaultFolderFunction::RunAsync() { |
DownloadManager* manager = NULL; |
DownloadManager* incognito_manager = NULL; |
GetManagers(GetProfile(), include_incognito(), &manager, &incognito_manager); |
- platform_util::OpenItem( |
- GetProfile(), |
- DownloadPrefs::FromDownloadManager(manager)->DownloadPath()); |
+ platform_util::OpenFolder( |
+ GetProfile(), DownloadPrefs::FromDownloadManager(manager)->DownloadPath(), |
+ platform_util::OpenOperationCallback()); |
RecordApiFunctions(DOWNLOADS_FUNCTION_SHOW_DEFAULT_FOLDER); |
return true; |
} |