Index: third_party/WebKit/Source/core/editing/serializers/Serialization.cpp |
diff --git a/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp b/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp |
index dd439d69fc273aadb77ca6f861ab682bb3f79260..e3247c96bc0b747c98eaa4a7ef773cd430b83047 100644 |
--- a/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp |
+++ b/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp |
@@ -31,7 +31,7 @@ |
#include "bindings/core/v8/ExceptionState.h" |
#include "core/CSSValueKeywords.h" |
#include "core/HTMLNames.h" |
-#include "core/css/CSSPrimitiveValue.h" |
+#include "core/css/CSSIdentifierValue.h" |
#include "core/css/CSSValue.h" |
#include "core/css/StylePropertySet.h" |
#include "core/dom/CDATASection.h" |
@@ -163,9 +163,9 @@ bool propertyMissingOrEqualToNone(StylePropertySet* style, CSSPropertyID propert |
const CSSValue* value = style->getPropertyCSSValue(propertyID); |
if (!value) |
return true; |
- if (!value->isPrimitiveValue()) |
+ if (!value->isIdentifierValue()) |
return false; |
- return toCSSPrimitiveValue(value)->getValueID() == CSSValueNone; |
+ return toCSSIdentifierValue(value)->getValueID() == CSSValueNone; |
} |
template<typename Strategy> |