| 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;
|
| }
|
|
|