| 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 788ab7db6365616668374e6f6a3130f95c6d5500..8585ffb8b0b145373a30c96099bfee421d3deb2e 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);
|
|
|