Index: third_party/WebKit/Source/core/fetch/ScriptResource.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/ScriptResource.cpp b/third_party/WebKit/Source/core/fetch/ScriptResource.cpp |
index 261454f9022b278543cbb2f3fd08a72ca85256bb..937a9d5c7a43f23ef587c5e6d72d0417556663c9 100644 |
--- a/third_party/WebKit/Source/core/fetch/ScriptResource.cpp |
+++ b/third_party/WebKit/Source/core/fetch/ScriptResource.cpp |
@@ -50,7 +50,7 @@ ScriptResource::ScriptResource(const ResourceRequest& resourceRequest, const Res |
: TextResource(resourceRequest, Script, options, "application/javascript", charset) |
, m_integrityDisposition(ScriptIntegrityDisposition::NotChecked) |
{ |
- DEFINE_STATIC_LOCAL(const AtomicString, acceptScript, ("*/*", AtomicString::ConstructFromLiteral)); |
+ DEFINE_STATIC_LOCAL(const AtomicString, acceptScript, ("*/*")); |
// It's javascript we want. |
// But some websites think their scripts are <some wrong mimetype here> |