Index: third_party/WebKit/Source/core/css/CSSMatrix.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSMatrix.cpp b/third_party/WebKit/Source/core/css/CSSMatrix.cpp |
index 4c6b5a8ac7335a7716087a857bb8e5f646ff0742..d7263e78eb89fa6b4b941a68aa69a9619a6774c8 100644 |
--- a/third_party/WebKit/Source/core/css/CSSMatrix.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSMatrix.cpp |
@@ -28,6 +28,7 @@ |
#include "bindings/core/v8/ExceptionState.h" |
#include "core/CSSPropertyNames.h" |
#include "core/CSSValueKeywords.h" |
+#include "core/css/CSSIdentifierValue.h" |
#include "core/css/CSSToLengthConversionData.h" |
#include "core/css/StylePropertySet.h" |
#include "core/css/parser/CSSParser.h" |
@@ -72,7 +73,7 @@ void CSSMatrix::setMatrixValue(const String& string, ExceptionState& exceptionSt |
if (const CSSValue* value = CSSParser::parseSingleValue(CSSPropertyTransform, string)) { |
// Check for a "none" transform. In these cases we can use the default identity matrix. |
- if (value->isPrimitiveValue() && (toCSSPrimitiveValue(value))->getValueID() == CSSValueNone) |
+ if (value->isIdentifierValue() && (toCSSIdentifierValue(value))->getValueID() == CSSValueNone) |
return; |
DEFINE_STATIC_REF(ComputedStyle, initialStyle, createInitialStyle()); |