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 f59863ee6d76d5b3c1719eaad9a3dc3a250211a8..5613d0d3b47b23ac46ae46dd4b2b4d16c71e150e 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; |
- disk_cache::BackendImpl* backend = |
- new disk_cache::BackendImpl(path, thread->message_loop_proxy(), NULL); |
+ disk_cache::BackendImpl* backend = new disk_cache::BackendImpl( |
+ path, thread->message_loop_proxy().get(), NULL); |
backend->SetMaxSize(size); |
backend->SetType(net::DISK_CACHE); |
backend->SetFlags(disk_cache::kNoRandom); |
@@ -265,7 +265,7 @@ int LoadOperations(const base::FilePath& path, RankCrashes action, |
// Work with a tiny index table (16 entries). |
disk_cache::BackendImpl* cache = new disk_cache::BackendImpl( |
- path, 0xf, cache_thread->message_loop_proxy(), NULL); |
+ path, 0xf, cache_thread->message_loop_proxy().get(), NULL); |
if (!cache || !cache->SetMaxSize(0x100000)) |
return GENERIC; |