Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(721)

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp

Issue 2822453003: Wrap large IndexedDB values into Blobs before writing to LevelDB. (Closed)
Patch Set: Addressed last round of feedback. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b86bd754061cd558995af617d4cd306a278f6bc8..cd8aae0c38a33d87019d1ab7334fcb21b0a65ab3 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp
@@ -180,7 +180,7 @@ DispatchEventResult IDBOpenDBRequest::DispatchEventInternal(Event* event) {
ResultAsAny()->IdbDatabase()->IsClosePending()) {
DequeueEvent(event);
SetResult(nullptr);
- EnqueueResponse(
+ HandleResponse(
DOMException::Create(kAbortError, "The connection was closed."));
return DispatchEventResult::kCanceledBeforeDispatch;
}

Powered by Google App Engine
This is Rietveld 408576698