Index: Source/core/html/HTMLElement.cpp |
diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp |
index caaa841c4bb77df756c18502b7648f7422e9eace..c25884f9767034587f2438ff120f5a336c77e142 100644 |
--- a/Source/core/html/HTMLElement.cpp |
+++ b/Source/core/html/HTMLElement.cpp |
@@ -909,7 +909,7 @@ void HTMLElement::addHTMLColorToStyle(MutableStylePropertySet* style, CSSPropert |
if (!parsedColor.setFromString(colorString)) |
parsedColor.setRGB(parseColorStringWithCrazyLegacyRules(colorString)); |
- style->setProperty(propertyID, cssValuePool().createColorValue(parsedColor.rgb())); |
+ style->setProperty(propertyID, CSSValue(cssValuePool().createColorValue(parsedColor.rgb()))); |
} |
bool HTMLElement::isInteractiveContent() const |