| Index: Source/modules/indexeddb/IDBTransaction.cpp
|
| diff --git a/Source/modules/indexeddb/IDBTransaction.cpp b/Source/modules/indexeddb/IDBTransaction.cpp
|
| index 04cfb0bae993a8908c20323795ec7167adad539a..c8df341edde5e533a73441f2d66bda96b70bf3de 100644
|
| --- a/Source/modules/indexeddb/IDBTransaction.cpp
|
| +++ b/Source/modules/indexeddb/IDBTransaction.cpp
|
| @@ -140,7 +140,7 @@ IDBObjectStore* IDBTransaction::objectStore(const String& name, ExceptionState&
|
| {
|
| if (m_state == Finished) {
|
| exceptionState.throwDOMException(InvalidStateError, IDBDatabase::transactionFinishedErrorMessage);
|
| - return 0;
|
| + return nullptr;
|
| }
|
|
|
| IDBObjectStoreMap::iterator it = m_objectStoreMap.find(name);
|
| @@ -149,14 +149,14 @@ IDBObjectStore* IDBTransaction::objectStore(const String& name, ExceptionState&
|
|
|
| if (!isVersionChange() && !m_objectStoreNames.contains(name)) {
|
| exceptionState.throwDOMException(NotFoundError, IDBDatabase::noSuchObjectStoreErrorMessage);
|
| - return 0;
|
| + return nullptr;
|
| }
|
|
|
| int64_t objectStoreId = m_database->findObjectStoreId(name);
|
| if (objectStoreId == IDBObjectStoreMetadata::InvalidId) {
|
| ASSERT(isVersionChange());
|
| exceptionState.throwDOMException(NotFoundError, IDBDatabase::noSuchObjectStoreErrorMessage);
|
| - return 0;
|
| + return nullptr;
|
| }
|
|
|
| const IDBDatabaseMetadata& metadata = m_database->metadata();
|
|
|