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 d616446743ffc005852837b6d4d8ba4970e62de5..6375c2c219731b7cfc53973d2ae70fe4caff13e8 100644 |
--- a/net/tools/crash_cache/crash_cache.cc |
+++ b/net/tools/crash_cache/crash_cache.cc |
@@ -140,7 +140,7 @@ bool CreateCache(const FilePath& path, |
int size = 1024 * 1024; |
int rv = disk_cache::BackendImpl::CreateBackend( |
path, false, size, net::DISK_CACHE, disk_cache::kNoRandom, |
- thread->message_loop_proxy(), NULL, cache, cb->callback()); |
+ thread->message_loop_proxy().get(), NULL, cache, cb->callback()); |
return (cb->GetResult(rv) == net::OK && !(*cache)->GetEntryCount()); |
} |
@@ -262,7 +262,7 @@ int LoadOperations(const 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; |