Index: third_party/WebKit/Source/core/workers/SharedWorker.cpp |
diff --git a/third_party/WebKit/Source/core/workers/SharedWorker.cpp b/third_party/WebKit/Source/core/workers/SharedWorker.cpp |
index d0bca97f54c647fa9babf0bcaaf6203c5e402fb5..7bdb5352e54ba3c568f21dcfa3a7d5c5c5c279de 100644 |
--- a/third_party/WebKit/Source/core/workers/SharedWorker.cpp |
+++ b/third_party/WebKit/Source/core/workers/SharedWorker.cpp |
@@ -76,7 +76,7 @@ SharedWorker* SharedWorker::create(ExecutionContext* context, const String& url, |
return nullptr; |
} |
- KURL scriptURL = worker->resolveURL(url, exceptionState); |
+ KURL scriptURL = worker->resolveURL(url, exceptionState, WebURLRequest::RequestContextSharedWorker); |
if (scriptURL.isEmpty()) |
return nullptr; |