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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp

Issue 2395473002: reflow comments in modules/webdatabase (Closed)
Patch Set: Created 4 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
Index: third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp b/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp
index 5735b0f6df21fbbed2e4282035aac1d9ee7a0812..e82abdc49fd180d7c8fbe4f95bd15c1925653d07 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp
@@ -100,10 +100,12 @@ void DatabaseThread::cleanupDatabaseThread() {
// Clean up the list of all pending transactions on this database thread
m_transactionCoordinator->shutdown();
- // Close the databases that we ran transactions on. This ensures that if any transactions are still open, they are rolled back and we don't leave the database in an
- // inconsistent or locked state.
+ // Close the databases that we ran transactions on. This ensures that if any
+ // transactions are still open, they are rolled back and we don't leave the
+ // database in an inconsistent or locked state.
if (m_openDatabaseSet.size() > 0) {
- // As the call to close will modify the original set, we must take a copy to iterate over.
+ // As the call to close will modify the original set, we must take a copy to
+ // iterate over.
HashSet<CrossThreadPersistent<Database>> openSetCopy;
openSetCopy.swap(m_openDatabaseSet);
HashSet<CrossThreadPersistent<Database>>::iterator end = openSetCopy.end();

Powered by Google App Engine
This is Rietveld 408576698