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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBCursor.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/IDBCursor.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp
index 92b8be6b6cf9ed8aec13e810129e21ad6d0bbe69..3b53ffd3eeb6e7b34c8ef1126dc331c44dd796c8 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp
@@ -294,9 +294,9 @@ void IDBCursor::continueFunction(IDBKey* key,
DCHECK(m_key);
if (m_direction == WebIDBCursorDirectionNext ||
m_direction == WebIDBCursorDirectionNextNoDuplicate) {
- const bool ok =
- m_key->isLessThan(key) || (primaryKey && m_key->isEqual(key) &&
- m_primaryKey->isLessThan(primaryKey));
+ const bool ok = m_key->isLessThan(key) ||
+ (primaryKey && m_key->isEqual(key) &&
+ m_primaryKey->isLessThan(primaryKey));
if (!ok) {
exceptionState.throwDOMException(
DataError,

Powered by Google App Engine
This is Rietveld 408576698