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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp

Issue 2388423003: reflow comments in modules/[fetch,indexeddb] (Closed)
Patch Set: rebase 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/indexeddb/IDBObjectStore.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp
index e7b73eddf8019c6d34cc05259c338ebbc4c7b205..8a944788a3f1f6d5427f85069d37b04f012e86b6 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp
@@ -119,8 +119,10 @@ void IDBObjectStore::setName(const String& name,
m_transaction->objectStoreRenamed(m_metadata.name, name);
m_metadata.name = name;
- // The name inside the database's version of the object store metadata is used by IDBDatabase.objectStoreNames().
- // If the transaction is aborted, this name will be reverted when the metadata is overwritten with the previousMetadata in IDBTransaction.
+ // The name inside the database's version of the object store metadata is used
+ // by IDBDatabase.objectStoreNames(). If the transaction is aborted, this
+ // name will be reverted when the metadata is overwritten with the
+ // previousMetadata in IDBTransaction.
m_transaction->db()->objectStoreRenamed(id(), name);
}
@@ -429,7 +431,8 @@ IDBRequest* IDBObjectStore::put(ScriptState* scriptState,
return nullptr;
}
- // This test logically belongs in IDBCursor, but must operate on the cloned value.
+ // This test logically belongs in IDBCursor, but must operate on the cloned
+ // value.
if (putMode == WebIDBPutModeCursorUpdate && usesInLineKeys) {
DCHECK(key);
if (clone.isEmpty())
@@ -770,7 +773,8 @@ IDBIndex* IDBObjectStore::createIndex(ScriptState* scriptState,
WebIDBTaskTypePreemptive);
indexRequest->preventPropagation();
- // This is kept alive by being the success handler of the request, which is in turn kept alive by the owning transaction.
+ // This is kept alive by being the success handler of the request, which is in
+ // turn kept alive by the owning transaction.
IndexPopulator* indexPopulator =
IndexPopulator::create(scriptState, transaction()->db(),
m_transaction->id(), id(), indexMetadata);

Powered by Google App Engine
This is Rietveld 408576698