Index: third_party/WebKit/Source/core/dom/Element.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
index c3a1e143cca4358eb8619f5b7f574d4ce9154ec1..2a7f157437a82a512d382f5317ea3944131a0097 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -38,6 +38,7 @@ |
#include "core/animation/AnimationTimeline.h" |
#include "core/animation/CustomCompositorAnimations.h" |
#include "core/animation/css/CSSAnimations.h" |
+#include "core/css/CSSIdentifierValue.h" |
#include "core/css/CSSImageValue.h" |
#include "core/css/CSSPrimitiveValue.h" |
#include "core/css/CSSStyleSheet.h" |
@@ -3651,7 +3652,7 @@ void Element::inlineStyleChanged() |
void Element::setInlineStyleProperty(CSSPropertyID propertyID, CSSValueID identifier, bool important) |
{ |
- setInlineStyleProperty(propertyID, CSSPrimitiveValue::createIdentifier(identifier), important); |
+ setInlineStyleProperty(propertyID, CSSIdentifierValue::createIdentifier(identifier), important); |
} |
void Element::setInlineStyleProperty(CSSPropertyID propertyID, double value, CSSPrimitiveValue::UnitType unit, bool important) |
@@ -3707,7 +3708,7 @@ void Element::updatePresentationAttributeStyle() |
void Element::addPropertyToPresentationAttributeStyle(MutableStylePropertySet* style, CSSPropertyID propertyID, CSSValueID identifier) |
{ |
DCHECK(isStyledElement()); |
- style->setProperty(propertyID, *CSSPrimitiveValue::createIdentifier(identifier)); |
+ style->setProperty(propertyID, *CSSIdentifierValue::createIdentifier(identifier)); |
} |
void Element::addPropertyToPresentationAttributeStyle(MutableStylePropertySet* style, CSSPropertyID propertyID, double value, CSSPrimitiveValue::UnitType unit) |