Index: net/disk_cache/simple/simple_backend_impl.cc |
diff --git a/net/disk_cache/simple/simple_backend_impl.cc b/net/disk_cache/simple/simple_backend_impl.cc |
index 2fd425a172ce943318c74dea20e241fa91fba038..4dd9319adc803a65381a5240fbd7c0f4c2b6e12f 100644 |
--- a/net/disk_cache/simple/simple_backend_impl.cc |
+++ b/net/disk_cache/simple/simple_backend_impl.cc |
@@ -184,10 +184,11 @@ int SimpleBackendImpl::Init(const CompletionCallback& completion_callback) { |
worker_pool_ = g_sequenced_worker_pool->GetTaskRunnerWithShutdownBehavior( |
SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); |
- index_.reset(new SimpleIndex(MessageLoopProxy::current(), path_, |
- make_scoped_ptr(new SimpleIndexFile( |
- cache_thread_.get(), worker_pool_.get(), |
- path_)))); |
+ index_.reset( |
+ new SimpleIndex(MessageLoopProxy::current().get(), |
+ path_, |
+ make_scoped_ptr(new SimpleIndexFile( |
+ cache_thread_.get(), worker_pool_.get(), path_)))); |
index_->ExecuteWhenReady(base::Bind(&RecordIndexLoad, |
base::TimeTicks::Now())); |