Index: app/os_exchange_data_provider_win.cc |
diff --git a/app/os_exchange_data_provider_win.cc b/app/os_exchange_data_provider_win.cc |
index 81db40e34f1b3c8dc86edcb86569d2c5a282d018..9efa5ee5be3ef0959ca0ccc1a72cad174c993986 100644 |
--- a/app/os_exchange_data_provider_win.cc |
+++ b/app/os_exchange_data_provider_win.cc |
@@ -6,6 +6,7 @@ |
#include "app/clipboard/clipboard_util_win.h" |
#include "app/l10n_util.h" |
+#include "base/file_path.h" |
#include "base/i18n/file_util_icu.h" |
#include "base/logging.h" |
#include "base/pickle.h" |
@@ -703,8 +704,8 @@ static void CreateValidFileNameFromTitle(const GURL& url, |
std::wstring* validated) { |
if (title.empty()) { |
if (url.is_valid()) { |
- *validated = net::GetSuggestedFilename(url, std::string(), |
- std::string(), "").ToWStringHack(); |
+ *validated = net::GetSuggestedFilename( |
+ url, std::string(), std::string(), FilePath()).ToWStringHack(); |
} else { |
// Nothing else can be done, just use a default. |
*validated = l10n_util::GetString(IDS_APP_UNTITLED_SHORTCUT_FILE_NAME); |