Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
index 305eb1e0944ba491556582b475d33c79515f5026..fc6caa213011fe6d1364c15a5c36f5b9ec526b53 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
@@ -182,8 +182,8 @@ void WorkerGlobalScope::importScripts(const Vector<String>& urls, |
SyntaxError, "The URL '" + urlString + "' is invalid."); |
return; |
} |
- if (!contentSecurityPolicy()->allowScriptFromSource(url, AtomicString(), |
- NotParserInserted)) { |
+ if (!contentSecurityPolicy()->allowScriptFromSource( |
+ url, AtomicString(), IntegrityMetadataSet(), NotParserInserted)) { |
exceptionState.throwDOMException( |
NetworkError, |
"The script at '" + url.elidedString() + "' failed to load."); |