| Index: third_party/WebKit/Source/core/loader/ImageLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.cpp b/third_party/WebKit/Source/core/loader/ImageLoader.cpp
|
| index 82527934f49c6cd17c63d9a3b45a5eb7c7d32817..6e5e55e0b113a2b8afe2dc59a1690528cb9c46f5 100644
|
| --- a/third_party/WebKit/Source/core/loader/ImageLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/ImageLoader.cpp
|
| @@ -46,7 +46,6 @@
|
| #include "core/layout/svg/LayoutSVGImage.h"
|
| #include "core/svg/graphics/SVGImage.h"
|
| #include "platform/Logging.h"
|
| -#include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/weborigin/SecurityOrigin.h"
|
| #include "platform/weborigin/SecurityPolicy.h"
|
| #include "public/platform/WebURLRequest.h"
|
| @@ -309,7 +308,7 @@ void ImageLoader::doUpdateFromElement(BypassMainWorldBehavior bypassBehavior, Up
|
| m_loadingImageDocument = false;
|
| }
|
|
|
| - if (RuntimeEnabledFeatures::referrerPolicyAttributeEnabled() && referrerPolicy != ReferrerPolicyDefault)
|
| + if (referrerPolicy != ReferrerPolicyDefault)
|
| resourceRequest.setHTTPReferrer(SecurityPolicy::generateReferrer(referrerPolicy, url, document.outgoingReferrer()));
|
|
|
| if (isHTMLPictureElement(element()->parentNode()) || !element()->fastGetAttribute(HTMLNames::srcsetAttr).isNull())
|
|
|