Index: third_party/WebKit/Source/core/html/HTMLImageElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp |
index 3c8690be6df88c30ecaba6d0d940a0c1e1731922..64f7e0a3182255c4f123733ce0b9128469cc7072 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp |
@@ -52,7 +52,6 @@ |
#include "platform/ContentType.h" |
#include "platform/EventDispatchForbiddenScope.h" |
#include "platform/MIMETypeRegistry.h" |
-#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/weborigin/SecurityPolicy.h" |
namespace blink { |
@@ -284,7 +283,7 @@ void HTMLImageElement::parseAttribute(const QualifiedName& name, const AtomicStr |
selectSourceURL(ImageLoader::UpdateIgnorePreviousError); |
} else if (name == usemapAttr) { |
setIsLink(!value.isNull()); |
- } else if (RuntimeEnabledFeatures::referrerPolicyAttributeEnabled() && name == referrerpolicyAttr) { |
+ } else if (name == referrerpolicyAttr) { |
m_referrerPolicy = ReferrerPolicyDefault; |
if (!value.isNull()) |
SecurityPolicy::referrerPolicyFromString(value, &m_referrerPolicy); |