summaryrefslogtreecommitdiffstats
path: root/net/tools/dump_cache/dump_files.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/tools/dump_cache/dump_files.cc')
-rw-r--r--net/tools/dump_cache/dump_files.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/tools/dump_cache/dump_files.cc b/net/tools/dump_cache/dump_files.cc
index 2fcf7a4..45b647c 100644
--- a/net/tools/dump_cache/dump_files.cc
+++ b/net/tools/dump_cache/dump_files.cc
@@ -106,7 +106,9 @@ void DumpBlockHeader(const std::wstring& name) {
class CacheDumper {
public:
explicit CacheDumper(const std::wstring& path)
- : path_(path), block_files_(path), index_(NULL) {}
+ : path_(path),
+ block_files_(FilePath::FromWStringHack(path)),
+ index_(NULL) {}
bool Init();