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

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

Issue 2822453003: Wrap large IndexedDB values into Blobs before writing to LevelDB. (Closed)
Patch Set: Rebased. 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/IDBFactory.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp
index 81fc62b8a997d232de02e9fb380237c7055bd233..757def9b93dbab925ddf1c1b595e6e4393927b91 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp
@@ -108,7 +108,7 @@ IDBOpenDBRequest* IDBFactory::OpenInternal(ScriptState* script_state,
if (!IndexedDBClient::From(ExecutionContext::From(script_state))
->AllowIndexedDB(ExecutionContext::From(script_state), name)) {
- request->EnqueueResponse(
+ request->HandleResponse(
DOMException::Create(kUnknownError, kPermissionDeniedErrorMessage));
return request;
}
@@ -161,7 +161,7 @@ IDBOpenDBRequest* IDBFactory::DeleteDatabaseInternal(ScriptState* script_state,
if (!IndexedDBClient::From(ExecutionContext::From(script_state))
->AllowIndexedDB(ExecutionContext::From(script_state), name)) {
- request->EnqueueResponse(
+ request->HandleResponse(
DOMException::Create(kUnknownError, kPermissionDeniedErrorMessage));
return request;
}

Powered by Google App Engine
This is Rietveld 408576698