| 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 c4e4763dac2eb248f49f451e9e9de7a491764998..5da1bf593e67fd860d4ac51048b907cfca2e9aa7 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
|
| @@ -346,12 +346,12 @@ ExecutionContext* IDBTransaction::executionContext() const
|
| return ActiveDOMObject::executionContext();
|
| }
|
|
|
| -bool IDBTransaction::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
|
| +WebInputEventResult IDBTransaction::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
|
| {
|
| IDB_TRACE("IDBTransaction::dispatchEvent");
|
| if (m_contextStopped || !executionContext()) {
|
| m_state = Finished;
|
| - return false;
|
| + return WebInputEventResult::HandledSuppressed;
|
| }
|
| ASSERT(m_state != Finished);
|
| ASSERT(m_hasPendingActivity);
|
| @@ -373,7 +373,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);
|
| + WebInputEventResult returnValue = IDBEventDispatcher::dispatch(event.get(), targets);
|
| // FIXME: Try to construct a test where |this| outlives openDBRequest and we
|
| // get a crash.
|
| if (m_openDBRequest) {
|
|
|