summaryrefslogtreecommitdiffstats
path: root/net/tools
diff options
context:
space:
mode:
Diffstat (limited to 'net/tools')
-rw-r--r--net/tools/dump_cache/dump_files.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tools/dump_cache/dump_files.cc b/net/tools/dump_cache/dump_files.cc
index 45b647c..8a9abca 100644
--- a/net/tools/dump_cache/dump_files.cc
+++ b/net/tools/dump_cache/dump_files.cc
@@ -140,8 +140,8 @@ bool CacheDumper::Init() {
std::wstring index_name(path_);
file_util::AppendToPath(&index_name, kIndexName);
index_file_ = new disk_cache::MappedFile;
- index_ =
- reinterpret_cast<disk_cache::Index*>(index_file_->Init(index_name, 0));
+ index_ = reinterpret_cast<disk_cache::Index*>(index_file_->Init(
+ FilePath::FromWStringHack(index_name), 0));
if (!index_) {
printf("Unable to map index\n");
return false;