| Index: Source/core/svg/SVGAngle.cpp
|
| diff --git a/Source/core/svg/SVGAngle.cpp b/Source/core/svg/SVGAngle.cpp
|
| index 90ee200ecff595cb8045188c4c628fdaad9c392f..30f4155db323e1fc0c057d6a6bf52f9cef10e39c 100644
|
| --- a/Source/core/svg/SVGAngle.cpp
|
| +++ b/Source/core/svg/SVGAngle.cpp
|
| @@ -150,7 +150,7 @@ static bool parseValue(const String& value, float& valueInSpecifiedUnits, SVGAng
|
| return true;
|
| }
|
|
|
| -void SVGAngle::setValueAsString(const String& value, ExceptionState& es)
|
| +void SVGAngle::setValueAsString(const String& value, ExceptionState& exceptionState)
|
| {
|
| if (value.isEmpty()) {
|
| m_unitType = SVG_ANGLETYPE_UNSPECIFIED;
|
| @@ -163,7 +163,7 @@ void SVGAngle::setValueAsString(const String& value, ExceptionState& es)
|
| bool success = value.is8Bit() ? parseValue<LChar>(value, valueInSpecifiedUnits, unitType)
|
| : parseValue<UChar>(value, valueInSpecifiedUnits, unitType);
|
| if (!success) {
|
| - es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(SyntaxError);
|
| return;
|
| }
|
|
|
| @@ -171,10 +171,10 @@ void SVGAngle::setValueAsString(const String& value, ExceptionState& es)
|
| m_valueInSpecifiedUnits = valueInSpecifiedUnits;
|
| }
|
|
|
| -void SVGAngle::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& es)
|
| +void SVGAngle::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& exceptionState)
|
| {
|
| if (unitType == SVG_ANGLETYPE_UNKNOWN || unitType > SVG_ANGLETYPE_GRAD) {
|
| - es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return;
|
| }
|
|
|
| @@ -184,10 +184,10 @@ void SVGAngle::newValueSpecifiedUnits(unsigned short unitType, float valueInSpec
|
| m_valueInSpecifiedUnits = valueInSpecifiedUnits;
|
| }
|
|
|
| -void SVGAngle::convertToSpecifiedUnits(unsigned short unitType, ExceptionState& es)
|
| +void SVGAngle::convertToSpecifiedUnits(unsigned short unitType, ExceptionState& exceptionState)
|
| {
|
| if (unitType == SVG_ANGLETYPE_UNKNOWN || m_unitType == SVG_ANGLETYPE_UNKNOWN || unitType > SVG_ANGLETYPE_GRAD) {
|
| - es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return;
|
| }
|
|
|
|
|