| Index: third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp
|
| index 6cfdb3bcd0d06e941c4bb7a1c156c7969ebd290e..1c5ac5bbb60e8f8da5987bbb66f330d879e6e8fa 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp
|
| @@ -162,7 +162,7 @@ bool IDBOpenDBRequest::shouldEnqueueEvent() const
|
| return true;
|
| }
|
|
|
| -bool IDBOpenDBRequest::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
|
| +DispatchEventResult IDBOpenDBRequest::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
|
| {
|
| // If the connection closed between onUpgradeNeeded and the delivery of the "success" event,
|
| // an "error" event should be fired instead.
|
| @@ -170,7 +170,7 @@ bool IDBOpenDBRequest::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event
|
| dequeueEvent(event.get());
|
| setResult(nullptr);
|
| onError(DOMException::create(AbortError, "The connection was closed."));
|
| - return false;
|
| + return DispatchEventResult::CanceledBeforeDispatch;
|
| }
|
|
|
| return IDBRequest::dispatchEventInternal(event);
|
|
|