| Index: third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
|
| index 302ad1b368d523e52ce3508d837b4b099d3b243f..8fe0a2736a747f5705b9eb463ab1a883552e3f97 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
|
| @@ -344,12 +344,12 @@ ExecutionContext* IDBTransaction::executionContext() const
|
| return ActiveDOMObject::executionContext();
|
| }
|
|
|
| -bool IDBTransaction::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
|
| +DispatchEventResult IDBTransaction::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
|
| {
|
| IDB_TRACE("IDBTransaction::dispatchEvent");
|
| if (m_contextStopped || !executionContext()) {
|
| m_state = Finished;
|
| - return false;
|
| + return DispatchEventResult::CanceledBeforeDispatch;
|
| }
|
| ASSERT(m_state != Finished);
|
| ASSERT(m_hasPendingActivity);
|
| @@ -371,7 +371,7 @@ bool IDBTransaction::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
|
|
|
| // FIXME: When we allow custom event dispatching, this will probably need to change.
|
| ASSERT(event->type() == EventTypeNames::complete || event->type() == EventTypeNames::abort);
|
| - bool returnValue = IDBEventDispatcher::dispatch(event.get(), targets);
|
| + DispatchEventResult returnValue = IDBEventDispatcher::dispatch(event.get(), targets);
|
| // FIXME: Try to construct a test where |this| outlives openDBRequest and we
|
| // get a crash.
|
| if (m_openDBRequest) {
|
|
|