Index: Source/core/css/CSSMatrix.cpp |
diff --git a/Source/core/css/CSSMatrix.cpp b/Source/core/css/CSSMatrix.cpp |
index cc62be110b60f0367d9c018597dbb9e3dc66f071..4ae6ebb046c7c2e1c58c14374d887ad0c1eca96e 100644 |
--- a/Source/core/css/CSSMatrix.cpp |
+++ b/Source/core/css/CSSMatrix.cpp |
@@ -64,7 +64,7 @@ void CSSMatrix::setMatrixValue(const String& string, ExceptionState& exceptionSt |
// FIXME: This has a null pointer crash if we use ex units (crbug.com/414145) |
DEFINE_STATIC_REF(RenderStyle, defaultStyle, RenderStyle::createDefaultStyle()); |
TransformOperations operations; |
- if (!TransformBuilder::createTransformOperations(value.get(), CSSToLengthConversionData(defaultStyle, defaultStyle, 0, 0, 1.0f), operations)) { |
+ if (!TransformBuilder::createTransformOperations(value.get(), CSSToLengthConversionData(defaultStyle, defaultStyle, nullptr, 1.0f), operations)) { |
exceptionState.throwDOMException(SyntaxError, "Failed to interpret '" + string + "' as a transformation operation."); |
return; |
} |