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

Unified Diff: webkit/appcache/appcache.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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 | « ui/compositor/layer.cc ('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 6f4e95978a0919b15192f9b805015230abe6aeaa..6aa67ec76adb7b8121d2b6cb1dea77dd61bb6897 100644
--- a/webkit/appcache/appcache.cc
+++ b/webkit/appcache/appcache.cc
@@ -28,11 +28,11 @@ AppCache::AppCache(AppCacheService *service, 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());
service_->storage()->working_set()->RemoveCache(this);
}
« no previous file with comments | « ui/compositor/layer.cc ('k') | webkit/appcache/appcache_disk_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698