summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/cache_creator.cc
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-01 00:39:50 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-01 00:39:50 +0000
commit90499486eb26f12da3456f01bd28abc4a6191ea4 (patch)
treeaa97aa55048b94b328a11621f0dc73a2622c06e8 /net/disk_cache/cache_creator.cc
parenta9030b828efc3b1312264875c1f76b35708eb000 (diff)
downloadchromium_src-90499486eb26f12da3456f01bd28abc4a6191ea4.zip
chromium_src-90499486eb26f12da3456f01bd28abc4a6191ea4.tar.gz
chromium_src-90499486eb26f12da3456f01bd28abc4a6191ea4.tar.bz2
Update net/ to use scoped_refptr<T>::get() rather than implicit "operator T*"
Linux fixes BUG=110610 TBR=darin Review URL: https://chromiumcodereview.appspot.com/15829004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/cache_creator.cc')
-rw-r--r--net/disk_cache/cache_creator.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/disk_cache/cache_creator.cc b/net/disk_cache/cache_creator.cc
index 5a903ae..ac49a3d 100644
--- a/net/disk_cache/cache_creator.cc
+++ b/net/disk_cache/cache_creator.cc
@@ -84,14 +84,14 @@ int CacheCreator::Run() {
// appropriate.
if (backend_type_ == net::CACHE_BACKEND_SIMPLE && type_ == net::DISK_CACHE) {
disk_cache::SimpleBackendImpl* simple_cache =
- new disk_cache::SimpleBackendImpl(path_, max_bytes_, type_, thread_,
- net_log_);
+ new disk_cache::SimpleBackendImpl(
+ path_, max_bytes_, type_, thread_.get(), net_log_);
created_cache_ = simple_cache;
return simple_cache->Init(
base::Bind(&CacheCreator::OnIOComplete, base::Unretained(this)));
}
disk_cache::BackendImpl* new_cache =
- new disk_cache::BackendImpl(path_, thread_, net_log_);
+ new disk_cache::BackendImpl(path_, thread_.get(), net_log_);
created_cache_ = new_cache;
new_cache->SetMaxSize(max_bytes_);
new_cache->SetType(type_);