Index: Source/WebCore/loader/cache/CachedScript.cpp |
diff --git a/Source/WebCore/loader/cache/CachedScript.cpp b/Source/WebCore/loader/cache/CachedScript.cpp |
index 1c86f43e3b80053076ef478d5c213b37deb4f935..309c5cdca0b31c1379244ca161de8f1b06fa69b2 100644 |
--- a/Source/WebCore/loader/cache/CachedScript.cpp |
+++ b/Source/WebCore/loader/cache/CachedScript.cpp |
@@ -101,12 +101,10 @@ void CachedScript::destroyDecodedData() |
makePurgeable(true); |
} |
-#if ENABLE(NOSNIFF) |
bool CachedScript::mimeTypeAllowedByNosniff() const |
{ |
return !parseContentTypeOptionsHeader(m_response.httpHeaderField("X-Content-Type-Options")) == ContentTypeOptionsNosniff || MIMETypeRegistry::isSupportedJavaScriptMIMEType(mimeType()); |
} |
-#endif |
void CachedScript::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const |
{ |