Index: Source/core/frame/SubresourceIntegrity.cpp |
diff --git a/Source/core/frame/SubresourceIntegrity.cpp b/Source/core/frame/SubresourceIntegrity.cpp |
index 67b4f1c68ec4ebf0871ba4330942a40ca5f8d984..ee5e649ed632c05f1a28d29c44b5cd005a604420 100644 |
--- a/Source/core/frame/SubresourceIntegrity.cpp |
+++ b/Source/core/frame/SubresourceIntegrity.cpp |
@@ -14,7 +14,6 @@ |
#include "core/inspector/ConsoleMessage.h" |
#include "platform/Crypto.h" |
#include "platform/ParsingUtilities.h" |
-#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/weborigin/KURL.h" |
#include "platform/weborigin/SecurityOrigin.h" |
#include "public/platform/WebCrypto.h" |
@@ -105,9 +104,6 @@ HashAlgorithm SubresourceIntegrity::getPrioritizedHashFunction(HashAlgorithm alg |
bool SubresourceIntegrity::CheckSubresourceIntegrity(const Element& element, const String& source, const KURL& resourceUrl, const Resource& resource) |
{ |
- if (!RuntimeEnabledFeatures::subresourceIntegrityEnabled()) |
- return true; |
- |
Document& document = element.document(); |
String attribute = element.fastGetAttribute(HTMLNames::integrityAttr); |
if (attribute.isEmpty()) |