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

Unified Diff: webkit/dom_storage/dom_storage_cached_area.h

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/database/database_quota_client_unittest.cc ('k') | webkit/dom_storage/dom_storage_cached_area.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/dom_storage/dom_storage_cached_area.h
diff --git a/webkit/dom_storage/dom_storage_cached_area.h b/webkit/dom_storage/dom_storage_cached_area.h
index ae45a9c20bfd045f86e351a54bde0d60fd5d50ab..563567cc4eddd4a21656f6e35e58e6c886e97fb2 100644
--- a/webkit/dom_storage/dom_storage_cached_area.h
+++ b/webkit/dom_storage/dom_storage_cached_area.h
@@ -55,7 +55,7 @@ class WEBKIT_STORAGE_EXPORT DomStorageCachedArea :
// Primes the cache, loading all values for the area.
void Prime(int connection_id);
void PrimeIfNeeded(int connection_id) {
- if (!map_)
+ if (!map_.get())
Prime(connection_id);
}
« no previous file with comments | « webkit/database/database_quota_client_unittest.cc ('k') | webkit/dom_storage/dom_storage_cached_area.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698