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 39f9d103912bfff7684694f591a211c0ad38e893..bf1eda0e55a91b8424d5c778d8d3de223d6d2080 100644 |
--- a/net/tools/crash_cache/crash_cache.cc |
+++ b/net/tools/crash_cache/crash_cache.cc |
@@ -138,8 +138,8 @@ bool CreateCache(const base::FilePath& path, |
disk_cache::Backend** cache, |
net::TestCompletionCallback* cb) { |
int size = 1024 * 1024; |
- int rv = disk_cache::BackendImpl::CreateBackend( |
- path, false, size, net::DISK_CACHE, disk_cache::kNoRandom, |
+ int rv = disk_cache::CreateCacheBackendWithFlags( |
+ net::DISK_CACHE, path, size, false, disk_cache::kNoRandom, |
thread->message_loop_proxy(), NULL, cache, cb->callback()); |
return (cb->GetResult(rv) == net::OK && !(*cache)->GetEntryCount()); |