diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-08 14:27:23 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-08 14:27:23 +0000 |
commit | 2033fb861781de480cacc9c0bfb7998d7fa828e5 (patch) | |
tree | 94fd8f829e55ca7c02bd5761e51db5187d9468ad /webkit/appcache/appcache_database.cc | |
parent | 7521b65a904d1a21f85e6d28501e83ee27d6a3fc (diff) | |
download | chromium_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.cc | 2 |
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 |