| Index: content/browser/appcache/appcache_storage_impl.cc
|
| diff --git a/content/browser/appcache/appcache_storage_impl.cc b/content/browser/appcache/appcache_storage_impl.cc
|
| index 59cc5817ec918b6c1321e2d3f2fc5e04cb7df067..6e1388be2f53e69cd983329be43947019d776f05 100644
|
| --- a/content/browser/appcache/appcache_storage_impl.cc
|
| +++ b/content/browser/appcache/appcache_storage_impl.cc
|
| @@ -82,7 +82,7 @@ void ClearSessionOnlyOrigins(
|
| return;
|
|
|
| bool has_session_only_appcaches =
|
| - special_storage_policy &&
|
| + special_storage_policy.get() &&
|
| special_storage_policy->HasSessionOnlyOrigins();
|
|
|
| // Clearning only session-only databases, and there are none.
|
| @@ -101,7 +101,7 @@ void ClearSessionOnlyOrigins(
|
| }
|
|
|
| std::set<GURL>::const_iterator origin;
|
| - DCHECK(special_storage_policy);
|
| + DCHECK(special_storage_policy.get());
|
| for (origin = origins.begin(); origin != origins.end(); ++origin) {
|
| if (!special_storage_policy->IsStorageSessionOnly(*origin))
|
| continue;
|
| @@ -1351,7 +1351,7 @@ void AppCacheStorageImpl::Initialize(
|
| const base::FilePath& cache_directory,
|
| const scoped_refptr<base::SingleThreadTaskRunner>& db_thread,
|
| const scoped_refptr<base::SingleThreadTaskRunner>& cache_thread) {
|
| - DCHECK(db_thread);
|
| + DCHECK(db_thread.get());
|
|
|
| cache_directory_ = cache_directory;
|
| is_incognito_ = cache_directory_.empty();
|
|
|