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

Unified Diff: webkit/appcache/appcache_disk_cache.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.cc ('k') | webkit/appcache/appcache_group_unittest.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 9587d11ddc8a4329bde7521df39b26371ac85895..0f537ccb6514d29de00de933396e57772378a675 100644
--- a/webkit/appcache/appcache_disk_cache.cc
+++ b/webkit/appcache/appcache_disk_cache.cc
@@ -155,7 +155,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);
@@ -184,7 +184,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_group_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698