Index: net/tools/stress_cache/stress_cache.cc |
diff --git a/net/tools/stress_cache/stress_cache.cc b/net/tools/stress_cache/stress_cache.cc |
index d67ebddb52a39463d8ebaf4dc0d69b8a461ae7cb..f8ed86f8a6defef99aa6fe52c5d5f31fe9d35e55 100644 |
--- a/net/tools/stress_cache/stress_cache.cc |
+++ b/net/tools/stress_cache/stress_cache.cc |
@@ -113,9 +113,7 @@ void StressTheCache(int iteration) { |
return; |
disk_cache::BackendImpl* cache = |
- new disk_cache::BackendImpl(path, mask, |
- cache_thread.message_loop_proxy().get(), |
- NULL); |
+ new disk_cache::BackendImpl(path, mask, cache_thread.task_runner(), NULL); |
cache->SetMaxSize(cache_size); |
cache->SetFlags(disk_cache::kNoLoadProtection); |