| Index: Source/core/workers/AbstractWorker.cpp
|
| diff --git a/Source/core/workers/AbstractWorker.cpp b/Source/core/workers/AbstractWorker.cpp
|
| index c050843c2da34cb891f872590b882ecc6de86a8b..d295a87ce483c0220fdda08e56b0e651ccbe20c9 100644
|
| --- a/Source/core/workers/AbstractWorker.cpp
|
| +++ b/Source/core/workers/AbstractWorker.cpp
|
| @@ -77,7 +77,7 @@ KURL AbstractWorker::resolveURL(const String& url, ExceptionCode& ec)
|
| return KURL();
|
| }
|
|
|
| - if (scriptExecutionContext()->contentSecurityPolicy() && !scriptExecutionContext()->contentSecurityPolicy()->allowScriptFromSource(scriptURL)) {
|
| + if (scriptExecutionContext()->contentSecurityPolicy() && !scriptExecutionContext()->contentSecurityPolicy()->allowScriptFromSource(scriptURL, String())) {
|
| ec = SECURITY_ERR;
|
| return KURL();
|
| }
|
|
|