| 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 70bde66b86773d9cd451e68ce28aa8eac9a48146..7c697ae10b064483229b44df845eb589e9c4c1f7 100644
|
| --- a/third_party/WebKit/Source/core/fetch/ScriptResource.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/ScriptResource.cpp
|
| @@ -105,7 +105,7 @@ void ScriptResource::destroyDecodedDataForFailedRevalidation()
|
|
|
| bool ScriptResource::mimeTypeAllowedByNosniff() const
|
| {
|
| - return parseContentTypeOptionsHeader(m_response.httpHeaderField(HTTPNames::X_Content_Type_Options)) != ContentTypeOptionsNosniff || MIMETypeRegistry::isSupportedJavaScriptMIMEType(httpContentType());
|
| + return parseContentTypeOptionsHeader(response().httpHeaderField(HTTPNames::X_Content_Type_Options)) != ContentTypeOptionsNosniff || MIMETypeRegistry::isSupportedJavaScriptMIMEType(httpContentType());
|
| }
|
|
|
| void ScriptResource::setIntegrityDisposition(ScriptIntegrityDisposition disposition)
|
|
|