| Index: Source/modules/indexeddb/IDBFactory.cpp
|
| diff --git a/Source/modules/indexeddb/IDBFactory.cpp b/Source/modules/indexeddb/IDBFactory.cpp
|
| index d6489d02696117a9a1796c5557e22081390aad86..b57ec27cd20baa5f1c4940d06531de08de1bb9cd 100644
|
| --- a/Source/modules/indexeddb/IDBFactory.cpp
|
| +++ b/Source/modules/indexeddb/IDBFactory.cpp
|
| @@ -80,7 +80,7 @@ PassRefPtr<IDBRequest> IDBFactory::getDatabaseNames(ScriptExecutionContext* cont
|
| if (!isContextValid(context))
|
| return 0;
|
| if (!context->securityOrigin()->canAccessDatabase(context->topOrigin())) {
|
| - ec = SECURITY_ERR;
|
| + ec = SecurityError;
|
| return 0;
|
| }
|
|
|
| @@ -110,7 +110,7 @@ PassRefPtr<IDBOpenDBRequest> IDBFactory::openInternal(ScriptExecutionContext* co
|
| if (!isContextValid(context))
|
| return 0;
|
| if (!context->securityOrigin()->canAccessDatabase(context->topOrigin())) {
|
| - ec = SECURITY_ERR;
|
| + ec = SecurityError;
|
| return 0;
|
| }
|
|
|
| @@ -138,7 +138,7 @@ PassRefPtr<IDBOpenDBRequest> IDBFactory::deleteDatabase(ScriptExecutionContext*
|
| if (!isContextValid(context))
|
| return 0;
|
| if (!context->securityOrigin()->canAccessDatabase(context->topOrigin())) {
|
| - ec = SECURITY_ERR;
|
| + ec = SecurityError;
|
| return 0;
|
| }
|
|
|
|
|