Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: webkit/appcache/appcache.cc

Issue 16155009: Update webkit/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/appcache/appcache.h ('k') | webkit/appcache/appcache_disk_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache.cc
diff --git a/webkit/appcache/appcache.cc b/webkit/appcache/appcache.cc
index 92d688dd859420b1765e8ee96d95d780dec696a1..1d83a431ae5b5117c74eb7f477ce9259ce7c0f18 100644
--- a/webkit/appcache/appcache.cc
+++ b/webkit/appcache/appcache.cc
@@ -27,11 +27,11 @@ AppCache::AppCache(AppCacheStorage* storage, int64 cache_id)
AppCache::~AppCache() {
DCHECK(associated_hosts_.empty());
- if (owning_group_) {
+ if (owning_group_.get()) {
DCHECK(is_complete_);
owning_group_->RemoveCache(this);
}
- DCHECK(!owning_group_);
+ DCHECK(!owning_group_.get());
storage_->working_set()->RemoveCache(this);
}
« no previous file with comments | « webkit/appcache/appcache.h ('k') | webkit/appcache/appcache_disk_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698