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

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

Issue 2233333002: Made StylePropertySet::setProperty take a const CSSValue& instead of ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/HTMLElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.cpp b/third_party/WebKit/Source/core/html/HTMLElement.cpp
index 77fcde2979b8d922226863f3529f7a3e697db8d9..b2161ea98f5e1fe796d83153530780381ecf1ee3 100644
--- a/third_party/WebKit/Source/core/html/HTMLElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp
@@ -996,7 +996,7 @@ void HTMLElement::addHTMLColorToStyle(MutableStylePropertySet* style, CSSPropert
if (!parseColorWithLegacyRules(attributeValue, parsedColor))
return;
- style->setProperty(propertyID, CSSColorValue::create(parsedColor.rgb()));
+ style->setProperty(propertyID, *CSSColorValue::create(parsedColor.rgb()));
}
bool HTMLElement::isInteractiveContent() const

Powered by Google App Engine
This is Rietveld 408576698