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

Unified Diff: webkit/appcache/appcache_disk_cache.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 | « webkit/appcache/appcache.cc ('k') | webkit/appcache/appcache_request_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_disk_cache.cc
diff --git a/webkit/appcache/appcache_disk_cache.cc b/webkit/appcache/appcache_disk_cache.cc
index 88bea87fa0c31eecd8e2a6a7b0e686715f028083..106cdc721a5b3381d62e53229bcd19b262e43743 100644
--- a/webkit/appcache/appcache_disk_cache.cc
+++ b/webkit/appcache/appcache_disk_cache.cc
@@ -154,7 +154,7 @@ AppCacheDiskCache::AppCacheDiskCache()
}
AppCacheDiskCache::~AppCacheDiskCache() {
- if (create_backend_callback_) {
+ if (create_backend_callback_.get()) {
create_backend_callback_->Cancel();
create_backend_callback_ = NULL;
OnCreateBackendComplete(net::ERR_ABORTED);
@@ -183,7 +183,7 @@ void AppCacheDiskCache::Disable() {
is_disabled_ = true;
- if (create_backend_callback_) {
+ if (create_backend_callback_.get()) {
create_backend_callback_->Cancel();
create_backend_callback_ = NULL;
OnCreateBackendComplete(net::ERR_ABORTED);
« no previous file with comments | « webkit/appcache/appcache.cc ('k') | webkit/appcache/appcache_request_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698