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 b7faa3372f39b3d8a2e38623fa388a45d3867754..29c07634f929ebda4159350a7446af38d35ce624 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp |
@@ -82,7 +82,7 @@ IDBRequest* IDBFactory::GetDatabaseNames(ScriptState* script_state, |
if (!IndexedDBClient::From(ExecutionContext::From(script_state)) |
->AllowIndexedDB(ExecutionContext::From(script_state), |
"Database Listing")) { |
- request->EnqueueResponse( |
+ request->HandleResponse( |
DOMException::Create(kUnknownError, kPermissionDeniedErrorMessage)); |
return request; |
} |
@@ -129,7 +129,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; |
} |
@@ -188,7 +188,7 @@ IDBOpenDBRequest* IDBFactory::DeleteDatabaseInternal( |
if (!IndexedDBClient::From(ExecutionContext::From(script_state)) |
->AllowIndexedDB(ExecutionContext::From(script_state), name)) { |
- request->EnqueueResponse( |
+ request->HandleResponse( |
DOMException::Create(kUnknownError, kPermissionDeniedErrorMessage)); |
return request; |
} |