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