Index: third_party/WebKit/Source/core/svg/SVGAngle.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGAngle.cpp b/third_party/WebKit/Source/core/svg/SVGAngle.cpp |
index 9189ceb60d04364fda502e76b7cdd4bb09027f70..930130cef4dd0f6b5926a37727c3446126e9aca9 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGAngle.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGAngle.cpp |
@@ -277,13 +277,8 @@ void SVGAngle::newValueSpecifiedUnits(SVGAngleType unitType, float valueInSpecif |
m_valueInSpecifiedUnits = valueInSpecifiedUnits; |
} |
-void SVGAngle::convertToSpecifiedUnits(SVGAngleType unitType, ExceptionState& exceptionState) |
+void SVGAngle::convertToSpecifiedUnits(SVGAngleType unitType) |
{ |
- if (m_unitType == SVG_ANGLETYPE_UNKNOWN) { |
- exceptionState.throwDOMException(NotSupportedError, "Cannot convert from unknown or invalid units."); |
- return; |
- } |
- |
if (unitType == m_unitType) |
return; |