summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download/download_util.cc')
-rw-r--r--chrome/browser/download/download_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc
index f0db7f2..c77b8af 100644
--- a/chrome/browser/download/download_util.cc
+++ b/chrome/browser/download/download_util.cc
@@ -97,8 +97,8 @@ void GenerateFileNameInternal(const GURL& url,
const std::string& suggested_name,
const std::string& mime_type,
FilePath* generated_name) {
- string16 default_file_name(
- l10n_util::GetStringUTF16(IDS_DEFAULT_DOWNLOAD_FILENAME));
+ std::string default_file_name(
+ l10n_util::GetStringUTF8(IDS_DEFAULT_DOWNLOAD_FILENAME));
*generated_name = net::GenerateFileName(url, content_disposition,
referrer_charset, suggested_name,