| Index: Source/modules/indexeddb/IDBCursor.cpp
|
| diff --git a/Source/modules/indexeddb/IDBCursor.cpp b/Source/modules/indexeddb/IDBCursor.cpp
|
| index a198fedc91f157597d959373f3fd075799585def..67ea1e72867e9ac9fb2db48540ea36bb64339f41 100644
|
| --- a/Source/modules/indexeddb/IDBCursor.cpp
|
| +++ b/Source/modules/indexeddb/IDBCursor.cpp
|
| @@ -320,7 +320,7 @@ ScriptValue IDBCursor::value(ScriptState* scriptState)
|
| IDBAny* value;
|
| if (metadata.autoIncrement && !metadata.keyPath.isNull()) {
|
| value = IDBAny::create(m_value, m_blobInfo.get(), m_primaryKey, metadata.keyPath);
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| assertPrimaryKeyValidOrInjectable(scriptState, m_value, m_blobInfo.get(), m_primaryKey, metadata.keyPath);
|
| #endif
|
| } else {
|
|
|