Index: Source/core/svg/properties/SVGTransformListPropertyTearOff.h |
diff --git a/Source/core/svg/properties/SVGTransformListPropertyTearOff.h b/Source/core/svg/properties/SVGTransformListPropertyTearOff.h |
index d7f14f969250b02e803562c360c6207f5aa20b7c..3b7d6da7003e97d7fa0fe9cf94905cfeba672739 100644 |
--- a/Source/core/svg/properties/SVGTransformListPropertyTearOff.h |
+++ b/Source/core/svg/properties/SVGTransformListPropertyTearOff.h |
@@ -39,13 +39,9 @@ public: |
return adoptRef(new SVGTransformListPropertyTearOff(animatedProperty, role, values, wrappers)); |
} |
- PassRefPtr<SVGPropertyTearOff<SVGTransform> > createSVGTransformFromMatrix(SVGPropertyTearOff<SVGMatrix>* matrix, ExceptionState& exceptionState) |
+ PassRefPtr<SVGPropertyTearOff<SVGTransform> > createSVGTransformFromMatrix(SVGPropertyTearOff<SVGMatrix>* matrix) |
{ |
ASSERT(m_values); |
- if (!matrix) { |
- exceptionState.throwDOMException(TypeMismatchError, "The matrix provided is invalid."); |
- return 0; |
- } |
return SVGPropertyTearOff<SVGTransform>::create(m_values->createSVGTransformFromMatrix(matrix->propertyReference())); |
} |