Index: Source/core/css/StylePropertySet.cpp |
diff --git a/Source/core/css/StylePropertySet.cpp b/Source/core/css/StylePropertySet.cpp |
index e95154cb00949f5ad9299b2b8120d3c8fc1465e5..3ae5c7ff49385b3ac4ce583e91f063ec13d9867f 100644 |
--- a/Source/core/css/StylePropertySet.cpp |
+++ b/Source/core/css/StylePropertySet.cpp |
@@ -275,7 +275,13 @@ void MutableStylePropertySet::setPrefixingVariantProperty(const CSSProperty& pro |
*toReplace = CSSProperty(prefixingVariant, property.value(), property.isImportant(), property.shorthandID(), property.metadata().m_implicit); |
} |
-bool MutableStylePropertySet::setProperty(CSSPropertyID propertyID, int identifier, bool important) |
+bool MutableStylePropertySet::setProperty(CSSPropertyID propertyID, CSSValueID identifier, bool important) |
+{ |
+ setProperty(CSSProperty(propertyID, cssValuePool().createIdentifierValue(identifier), important)); |
+ return true; |
+} |
+ |
+bool MutableStylePropertySet::setProperty(CSSPropertyID propertyID, CSSPropertyID identifier, bool important) |
{ |
setProperty(CSSProperty(propertyID, cssValuePool().createIdentifierValue(identifier), important)); |
return true; |