diff options
Diffstat (limited to 'net/disk_cache/simple/simple_backend_impl.cc')
-rw-r--r-- | net/disk_cache/simple/simple_backend_impl.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/disk_cache/simple/simple_backend_impl.cc b/net/disk_cache/simple/simple_backend_impl.cc index 2fd425a..4dd9319 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())); |