| Index: Source/core/fetch/ScriptResource.cpp
|
| diff --git a/Source/core/fetch/ScriptResource.cpp b/Source/core/fetch/ScriptResource.cpp
|
| index 57b104779b30d05bfedf5e0d990d4634e875fd58..347de8c64735c7c9973b08253083e3c32f3f3d9b 100644
|
| --- a/Source/core/fetch/ScriptResource.cpp
|
| +++ b/Source/core/fetch/ScriptResource.cpp
|
| @@ -95,11 +95,6 @@
|
| return m_script.string();
|
| }
|
|
|
| -void ScriptResource::destroyDecodedDataForFailedRevalidation()
|
| -{
|
| - m_script = AtomicString();
|
| -}
|
| -
|
| bool ScriptResource::mimeTypeAllowedByNosniff() const
|
| {
|
| return parseContentTypeOptionsHeader(m_response.httpHeaderField("X-Content-Type-Options")) != ContentTypeOptionsNosniff || MIMETypeRegistry::isSupportedJavaScriptMIMEType(mimeType());
|
|
|