| Index: third_party/WebKit/Source/core/html/HTMLBodyElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLBodyElement.cpp b/third_party/WebKit/Source/core/html/HTMLBodyElement.cpp
|
| index d3684eca2a5da9b3e9e6d5123ea7c78bb2a617bd..5529c2359f3499de69709f759086aaa4512ab471 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLBodyElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLBodyElement.cpp
|
| @@ -65,10 +65,10 @@ void HTMLBodyElement::collectStyleForPresentationAttribute(
|
| String url = stripLeadingAndTrailingHTMLSpaces(value);
|
| if (!url.isEmpty()) {
|
| CSSImageValue* imageValue =
|
| - CSSImageValue::create(url, document().completeURL(url));
|
| + CSSImageValue::create(url, document().completeURL(url),
|
| + Referrer(document().outgoingReferrer(),
|
| + document().getReferrerPolicy()));
|
| imageValue->setInitiator(localName());
|
| - imageValue->setReferrer(Referrer(document().outgoingReferrer(),
|
| - document().getReferrerPolicy()));
|
| style->setProperty(CSSProperty(CSSPropertyBackgroundImage, *imageValue));
|
| }
|
| } else if (name == marginwidthAttr || name == leftmarginAttr) {
|
|
|