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

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

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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/IDBDatabase.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
index b07af8249d59922b79952f614851c45174976470..5121f4dc0f66125340fbe26264744611a0b2135e 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
@@ -201,8 +201,9 @@ void IDBDatabase::onChanges(
}
observer->callback()->call(
- observer, IDBObserverChanges::create(this, transaction, observations,
- map_entry.second));
+ observer,
+ IDBObserverChanges::create(this, transaction, observations,
+ map_entry.second));
if (transaction)
transaction->setActive(false);
}
@@ -279,9 +280,10 @@ IDBObjectStore* IDBDatabase::createObjectStore(const String& name,
return nullptr;
}
- if (autoIncrement && ((keyPath.getType() == IDBKeyPath::StringType &&
- keyPath.string().isEmpty()) ||
- keyPath.getType() == IDBKeyPath::ArrayType)) {
+ if (autoIncrement &&
+ ((keyPath.getType() == IDBKeyPath::StringType &&
+ keyPath.string().isEmpty()) ||
+ keyPath.getType() == IDBKeyPath::ArrayType)) {
exceptionState.throwDOMException(InvalidAccessError,
"The autoIncrement option was set but the "
"keyPath option was empty or an array.");
« no previous file with comments | « third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp ('k') | third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698