Index: Source/core/dom/StyledElement.cpp |
diff --git a/Source/core/dom/StyledElement.cpp b/Source/core/dom/StyledElement.cpp |
index 28cdec99e5e9e06f3c849693f03ee88244e8d0aa..f6ecb91ffac361a19498b1d2b212ce78fb0121b9 100644 |
--- a/Source/core/dom/StyledElement.cpp |
+++ b/Source/core/dom/StyledElement.cpp |
@@ -227,7 +227,14 @@ void StyledElement::inlineStyleChanged() |
InspectorInstrumentation::didInvalidateStyleAttr(document(), this); |
} |
-bool StyledElement::setInlineStyleProperty(CSSPropertyID propertyID, int identifier, bool important) |
+bool StyledElement::setInlineStyleProperty(CSSPropertyID propertyID, CSSValueID identifier, bool important) |
+{ |
+ ensureMutableInlineStyle()->setProperty(propertyID, cssValuePool().createIdentifierValue(identifier), important); |
+ inlineStyleChanged(); |
+ return true; |
+} |
+ |
+bool StyledElement::setInlineStyleProperty(CSSPropertyID propertyID, CSSPropertyID identifier, bool important) |
{ |
ensureMutableInlineStyle()->setProperty(propertyID, cssValuePool().createIdentifierValue(identifier), important); |
inlineStyleChanged(); |
@@ -366,7 +373,7 @@ void StyledElement::rebuildPresentationAttributeStyle() |
cacheIterator->value = newEntry.release(); |
} |
-void StyledElement::addPropertyToPresentationAttributeStyle(MutableStylePropertySet* style, CSSPropertyID propertyID, int identifier) |
+void StyledElement::addPropertyToPresentationAttributeStyle(MutableStylePropertySet* style, CSSPropertyID propertyID, CSSValueID identifier) |
{ |
style->setProperty(propertyID, cssValuePool().createIdentifierValue(identifier)); |
} |