Index: content/browser/appcache/appcache_host.cc |
diff --git a/content/browser/appcache/appcache_host.cc b/content/browser/appcache/appcache_host.cc |
index 2e3c95a26e8b52a2a4da3e54253447a039fd0ff8..9cfcfaca364f7f9c7192a8d1e6c71a1b21589f1f 100644 |
--- a/content/browser/appcache/appcache_host.cc |
+++ b/content/browser/appcache/appcache_host.cc |
@@ -442,7 +442,7 @@ void AppCacheHost::ObserveGroupBeingUpdated(AppCacheGroup* group) { |
} |
void AppCacheHost::OnUpdateComplete(AppCacheGroup* group) { |
- DCHECK_EQ(group, group_being_updated_); |
+ DCHECK_EQ(group, group_being_updated_.get()); |
group->RemoveUpdateObserver(this); |
// Add a reference to the newest complete cache. |
@@ -499,7 +499,7 @@ void AppCacheHost::PrepareForTransfer() { |
// This can only happen prior to the document having been loaded. |
DCHECK(!associated_cache()); |
DCHECK(!is_selection_pending()); |
- DCHECK(!group_being_updated_); |
+ DCHECK(!group_being_updated_.get()); |
host_id_ = kAppCacheNoHostId; |
frontend_ = NULL; |
} |