Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Unified Diff: third_party/WebKit/Source/core/html/HTMLTableElement.cpp

Issue 2769283004: Remove referrer setter from CSSImageValue (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLTableElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLTableElement.cpp b/third_party/WebKit/Source/core/html/HTMLTableElement.cpp
index fa9770af711c2476bb05cd0cfdd0eec908c8ba84..a05a95bb3fbf61aa1884903c35ae3f4c0098987f 100644
--- a/third_party/WebKit/Source/core/html/HTMLTableElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTableElement.cpp
@@ -321,9 +321,9 @@ void HTMLTableElement::collectStyleForPresentationAttribute(
document(),
UseCounter::HTMLTableElementPresentationAttributeBackground);
CSSImageValue* imageValue =
- CSSImageValue::create(url, document().completeURL(url));
- imageValue->setReferrer(Referrer(document().outgoingReferrer(),
- document().getReferrerPolicy()));
+ CSSImageValue::create(url, document().completeURL(url),
+ Referrer(document().outgoingReferrer(),
+ document().getReferrerPolicy()));
style->setProperty(CSSProperty(CSSPropertyBackgroundImage, *imageValue));
}
} else if (name == valignAttr) {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLBodyElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLTablePartElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698