| Index: Source/modules/indexeddb/IDBTransaction.cpp
|
| diff --git a/Source/modules/indexeddb/IDBTransaction.cpp b/Source/modules/indexeddb/IDBTransaction.cpp
|
| index 5923506dc481db1b2dfff69ae0a577dca768bdc3..effab2006c9da30930a36a4ca679736ca8503c66 100644
|
| --- a/Source/modules/indexeddb/IDBTransaction.cpp
|
| +++ b/Source/modules/indexeddb/IDBTransaction.cpp
|
| @@ -139,7 +139,7 @@ void IDBTransaction::setError(PassRefPtr<DOMError> error)
|
| PassRefPtr<IDBObjectStore> IDBTransaction::objectStore(const String& name, ExceptionCode& ec)
|
| {
|
| if (m_state == Finished) {
|
| - ec = INVALID_STATE_ERR;
|
| + ec = InvalidStateError;
|
| return 0;
|
| }
|
|
|
| @@ -206,7 +206,7 @@ void IDBTransaction::setActive(bool active)
|
| void IDBTransaction::abort(ExceptionCode& ec)
|
| {
|
| if (m_state == Finishing || m_state == Finished) {
|
| - ec = INVALID_STATE_ERR;
|
| + ec = InvalidStateError;
|
| return;
|
| }
|
|
|
|
|