| Index: Source/core/workers/SharedWorker.cpp
|
| diff --git a/Source/core/workers/SharedWorker.cpp b/Source/core/workers/SharedWorker.cpp
|
| index df13db8d992d605e4c12b2f50761d48a9aba277e..a282eb429e97821f953a140f0930de52f50c59dc 100644
|
| --- a/Source/core/workers/SharedWorker.cpp
|
| +++ b/Source/core/workers/SharedWorker.cpp
|
| @@ -73,7 +73,7 @@ PassRefPtr<SharedWorker> SharedWorker::create(ScriptExecutionContext* context, c
|
| ASSERT_WITH_SECURITY_IMPLICATION(context->isDocument());
|
| Document* document = toDocument(context);
|
| if (!document->securityOrigin()->canAccessSharedWorkers(document->topOrigin())) {
|
| - ec = SECURITY_ERR;
|
| + ec = SecurityError;
|
| return 0;
|
| }
|
|
|
|
|