| Index: net/disk_cache/cache_util.cc
|
| diff --git a/net/disk_cache/cache_util.cc b/net/disk_cache/cache_util.cc
|
| index 4452e7b0aa912017c2bc9294a708515f24391166..276f2f3381b632a111df9d344e982406fbe4b230 100644
|
| --- a/net/disk_cache/cache_util.cc
|
| +++ b/net/disk_cache/cache_util.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/location.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/stringprintf.h"
|
| +#include "base/strings/utf_string_conversions.h"
|
| #include "base/threading/thread_restrictions.h"
|
| #include "base/threading/worker_pool.h"
|
|
|
| @@ -118,7 +119,7 @@ bool DelayedCacheCleanup(const base::FilePath& full_path) {
|
| std::string name_str = name.value();
|
| #elif defined(OS_WIN)
|
| // We created this file so it should only contain ASCII.
|
| - std::string name_str = WideToASCII(name.value());
|
| + std::string name_str = base::UTF16ToASCII(name.value());
|
| #endif
|
|
|
| base::FilePath to_delete = GetTempCacheName(path, name_str);
|
|
|