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

Unified Diff: content/browser/indexed_db/indexed_db_database.cc

Issue 2119283002: Use container::back() and container::pop_back() for content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: content/browser/indexed_db/indexed_db_database.cc
diff --git a/content/browser/indexed_db/indexed_db_database.cc b/content/browser/indexed_db/indexed_db_database.cc
index 6d104a56d42d256a631fe1c1834c64bd176c1f5d..25c1888397fc4c4c692e135ae618e45e51b27ccd 100644
--- a/content/browser/indexed_db/indexed_db_database.cc
+++ b/content/browser/indexed_db/indexed_db_database.cc
@@ -1924,7 +1924,7 @@ void IndexedDBDatabase::Close(IndexedDBConnection* connection, bool forced) {
// TODO(jsbell): Add a test for the pending_open_calls_ cases below.
if (!ConnectionCount() && pending_open_calls_.empty() &&
- !pending_delete_calls_.size()) {
+ pending_delete_calls_.empty()) {
DCHECK(transactions_.empty());
backing_store_ = NULL;
factory_->ReleaseDatabase(identifier_, forced);
« no previous file with comments | « content/browser/indexed_db/indexed_db_cursor.cc ('k') | content/browser/indexed_db/indexed_db_transaction_coordinator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698