summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_database.cc
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-08 14:27:23 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-08 14:27:23 +0000
commit2033fb861781de480cacc9c0bfb7998d7fa828e5 (patch)
tree94fd8f829e55ca7c02bd5761e51db5187d9468ad /webkit/appcache/appcache_database.cc
parent7521b65a904d1a21f85e6d28501e83ee27d6a3fc (diff)
downloadchromium_src-2033fb861781de480cacc9c0bfb7998d7fa828e5.zip
chromium_src-2033fb861781de480cacc9c0bfb7998d7fa828e5.tar.gz
chromium_src-2033fb861781de480cacc9c0bfb7998d7fa828e5.tar.bz2
Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>.
In r174057, enne@ added support for implicit testing to scoped_ptr<>. Removes these in webkit/. BUG=232084 Review URL: https://chromiumcodereview.appspot.com/14886011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198894 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_database.cc')
-rw-r--r--webkit/appcache/appcache_database.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/appcache/appcache_database.cc b/webkit/appcache/appcache_database.cc
index 67767eb..fe8fb2e 100644
--- a/webkit/appcache/appcache_database.cc
+++ b/webkit/appcache/appcache_database.cc
@@ -983,7 +983,7 @@ void AppCacheDatabase::ReadOnlineWhiteListRecord(
}
bool AppCacheDatabase::LazyOpen(bool create_if_needed) {
- if (db_.get())
+ if (db_)
return true;
// If we tried and failed once, don't try again in the same session