| 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,
|
|
|