| Index: third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.cpp
|
| index d27ea037fb55dcbf75c3dad3883026336003de15..8f5e88bb2fb920b5560ce1fe2a40c4158e5a4366 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.cpp
|
| @@ -106,7 +106,7 @@ IDBKeyPath::IDBKeyPath(const String& string)
|
|
|
| IDBKeyPath::IDBKeyPath(const Vector<String>& array)
|
| : m_type(ArrayType), m_array(array) {
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| for (size_t i = 0; i < m_array.size(); ++i)
|
| ASSERT(!m_array[i].isNull());
|
| #endif
|
| @@ -123,7 +123,7 @@ IDBKeyPath::IDBKeyPath(const StringOrStringSequence& keyPath) {
|
| ASSERT(keyPath.isStringSequence());
|
| m_type = ArrayType;
|
| m_array = keyPath.getAsStringSequence();
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| for (size_t i = 0; i < m_array.size(); ++i)
|
| ASSERT(!m_array[i].isNull());
|
| #endif
|
|
|