| 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 34eaafabf4b7b1bb8b61204defae3c93d531754b..f92becc55a657870236a9fa03854356be42326f5 100644
|
| --- a/net/tools/crash_cache/crash_cache.cc
|
| +++ b/net/tools/crash_cache/crash_cache.cc
|
| @@ -139,8 +139,8 @@ bool CreateCache(const base::FilePath& path,
|
| disk_cache::Backend** cache,
|
| net::TestCompletionCallback* cb) {
|
| int size = 1024 * 1024;
|
| - disk_cache::BackendImpl* backend = new disk_cache::BackendImpl(
|
| - path, thread->message_loop_proxy().get(), NULL);
|
| + disk_cache::BackendImpl* backend =
|
| + new disk_cache::BackendImpl(path, thread->task_runner(), NULL);
|
| backend->SetMaxSize(size);
|
| backend->SetType(net::DISK_CACHE);
|
| backend->SetFlags(disk_cache::kNoRandom);
|
| @@ -265,8 +265,8 @@ int LoadOperations(const base::FilePath& 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, cache_thread->message_loop_proxy().get(), NULL);
|
| + disk_cache::BackendImpl* cache =
|
| + new disk_cache::BackendImpl(path, 0xf, cache_thread->task_runner(), NULL);
|
| if (!cache->SetMaxSize(0x100000))
|
| return GENERIC;
|
|
|
|
|