Index: chrome/browser/spellcheck_host.cc |
diff --git a/chrome/browser/spellcheck_host.cc b/chrome/browser/spellcheck_host.cc |
index 7ac1a3f9691947a11a70c7282c41c60de4f98ef9..642c29fc9d326b1c7a49c2fd3911d5d694ad8eda 100644 |
--- a/chrome/browser/spellcheck_host.cc |
+++ b/chrome/browser/spellcheck_host.cc |
@@ -220,8 +220,9 @@ void SpellCheckHost::DownloadDictionary() { |
// Determine URL of file to download. |
static const char kDownloadServerUrl[] = |
"http://cache.pack.google.com/edgedl/chrome/dict/"; |
- GURL url = GURL(std::string(kDownloadServerUrl) + WideToUTF8( |
- l10n_util::ToLower(bdict_file_path_.BaseName().ToWStringHack()))); |
+ GURL url = GURL(std::string(kDownloadServerUrl) + |
+ StringToLowerASCII(WideToUTF8( |
+ bdict_file_path_.BaseName().ToWStringHack()))); |
fetcher_.reset(new URLFetcher(url, URLFetcher::GET, this)); |
fetcher_->set_request_context(request_context_getter_); |
tried_to_download_ = true; |