Index: net/tools/crash_cache/crash_cache.cc |
diff --git a/net/tools/crash_cache/crash_cache.cc b/net/tools/crash_cache/crash_cache.cc |
index 5272e17b1119ab5e24472c440d86efbb77f72e2d..36c64e27637d20df5fce70fa8dea69b1c9b4fd38 100644 |
--- a/net/tools/crash_cache/crash_cache.cc |
+++ b/net/tools/crash_cache/crash_cache.cc |
@@ -214,7 +214,8 @@ int LoadOperations(const std::wstring& path, RankCrashes action) { |
DCHECK(action >= disk_cache::INSERT_LOAD_1); |
// Work with a tiny index table (16 entries) |
- disk_cache::BackendImpl* cache = new disk_cache::BackendImpl(path, 0xf); |
+ disk_cache::BackendImpl* cache = |
+ new disk_cache::BackendImpl(FilePath::FromWStringHack(path), 0xf); |
if (!cache || !cache->SetMaxSize(0x100000) || !cache->Init() || |
cache->GetEntryCount()) |
return GENERIC; |