| Index: net/base/host_cache.cc
|
| diff --git a/net/base/host_cache.cc b/net/base/host_cache.cc
|
| index 9d746463f3dc7f1b826a6aae060595fe55973af8..5221fca9caeae744ad36b4b477f24afd0592dee4 100644
|
| --- a/net/base/host_cache.cc
|
| +++ b/net/base/host_cache.cc
|
| @@ -79,7 +79,7 @@ const HostCache::EntryMap& HostCache::entries() const {
|
| }
|
|
|
| // static
|
| -HostCache* HostCache::CreateDefaultCache() {
|
| +scoped_ptr<HostCache> HostCache::CreateDefaultCache() {
|
| #if defined(OS_CHROMEOS)
|
| // Increase HostCache size for the duration of the async DNS field trial.
|
| // http://crbug.com/143454
|
| @@ -88,7 +88,7 @@ HostCache* HostCache::CreateDefaultCache() {
|
| #else
|
| static const size_t kMaxHostCacheEntries = 100;
|
| #endif
|
| - return new HostCache(kMaxHostCacheEntries);
|
| + return make_scoped_ptr(new HostCache(kMaxHostCacheEntries));
|
| }
|
|
|
| } // namespace net
|
|
|