| Index: net/disk_cache/stress_cache.cc
|
| diff --git a/net/disk_cache/stress_cache.cc b/net/disk_cache/stress_cache.cc
|
| index 7b5912cff27fc18d2d5a36f57d6b14ab524c5149..e1f57600dc273235a26713762b8108eb127170a6 100644
|
| --- a/net/disk_cache/stress_cache.cc
|
| +++ b/net/disk_cache/stress_cache.cc
|
| @@ -78,7 +78,8 @@ void StressTheCache(int iteration) {
|
| int cache_size = 0x800000; // 8MB
|
| std::wstring path = GetCachePath();
|
| path.append(L"_stress");
|
| - disk_cache::BackendImpl* cache = new disk_cache::BackendImpl(path);
|
| + disk_cache::BackendImpl* cache =
|
| + new disk_cache::BackendImpl(FilePath::FromWStringHack(path));
|
| cache->SetFlags(disk_cache::kNoLoadProtection | disk_cache::kNoRandom);
|
| cache->SetMaxSize(cache_size);
|
| cache->SetType(net::DISK_CACHE);
|
|
|