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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTablePartElement.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
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLTableElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLTablePartElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLTablePartElement.cpp b/third_party/WebKit/Source/core/html/HTMLTablePartElement.cpp
index fee423e5259c92d3e7f488538697a88fa0b3a9a2..8cb6d74f06b8e90863c19892f54c7c76025adad0 100644
--- a/third_party/WebKit/Source/core/html/HTMLTablePartElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTablePartElement.cpp
@@ -61,9 +61,9 @@ void HTMLTablePartElement::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/HTMLTableElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698