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 0aa9545bda7e41c463acd7405c6b59d37763e3da..d34f8c8154a931badba87514e89fcd03b927236e 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp |
@@ -163,7 +163,7 @@ bool IDBOpenDBRequest::shouldEnqueueEvent() const |
return true; |
} |
-bool IDBOpenDBRequest::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event) |
+WebInputEventResult 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. |
@@ -171,7 +171,7 @@ bool IDBOpenDBRequest::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event |
dequeueEvent(event.get()); |
setResult(nullptr); |
onError(DOMException::create(AbortError, "The connection was closed.")); |
- return false; |
+ return WebInputEventResult::HandledSuppressed; |
} |
return IDBRequest::dispatchEventInternal(event); |