| Index: Source/core/html/HTMLMeterElement.cpp
|
| diff --git a/Source/core/html/HTMLMeterElement.cpp b/Source/core/html/HTMLMeterElement.cpp
|
| index 4e58a337d3052de274db9eafc8ba8f83c5c9d192..c38d37e81bd974abb7bd6a217b554567cf41f479 100644
|
| --- a/Source/core/html/HTMLMeterElement.cpp
|
| +++ b/Source/core/html/HTMLMeterElement.cpp
|
| @@ -75,10 +75,10 @@ double HTMLMeterElement::min() const
|
| return parseToDoubleForNumberType(getAttribute(minAttr), 0);
|
| }
|
|
|
| -void HTMLMeterElement::setMin(double min, ExceptionState& es)
|
| +void HTMLMeterElement::setMin(double min, ExceptionState& exceptionState)
|
| {
|
| if (!std::isfinite(min)) {
|
| - es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return;
|
| }
|
| setAttribute(minAttr, String::number(min));
|
| @@ -89,10 +89,10 @@ double HTMLMeterElement::max() const
|
| return std::max(parseToDoubleForNumberType(getAttribute(maxAttr), std::max(1.0, min())), min());
|
| }
|
|
|
| -void HTMLMeterElement::setMax(double max, ExceptionState& es)
|
| +void HTMLMeterElement::setMax(double max, ExceptionState& exceptionState)
|
| {
|
| if (!std::isfinite(max)) {
|
| - es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return;
|
| }
|
| setAttribute(maxAttr, String::number(max));
|
| @@ -104,10 +104,10 @@ double HTMLMeterElement::value() const
|
| return std::min(std::max(value, min()), max());
|
| }
|
|
|
| -void HTMLMeterElement::setValue(double value, ExceptionState& es)
|
| +void HTMLMeterElement::setValue(double value, ExceptionState& exceptionState)
|
| {
|
| if (!std::isfinite(value)) {
|
| - es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return;
|
| }
|
| setAttribute(valueAttr, String::number(value));
|
| @@ -119,10 +119,10 @@ double HTMLMeterElement::low() const
|
| return std::min(std::max(low, min()), max());
|
| }
|
|
|
| -void HTMLMeterElement::setLow(double low, ExceptionState& es)
|
| +void HTMLMeterElement::setLow(double low, ExceptionState& exceptionState)
|
| {
|
| if (!std::isfinite(low)) {
|
| - es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return;
|
| }
|
| setAttribute(lowAttr, String::number(low));
|
| @@ -134,10 +134,10 @@ double HTMLMeterElement::high() const
|
| return std::min(std::max(high, low()), max());
|
| }
|
|
|
| -void HTMLMeterElement::setHigh(double high, ExceptionState& es)
|
| +void HTMLMeterElement::setHigh(double high, ExceptionState& exceptionState)
|
| {
|
| if (!std::isfinite(high)) {
|
| - es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return;
|
| }
|
| setAttribute(highAttr, String::number(high));
|
| @@ -149,10 +149,10 @@ double HTMLMeterElement::optimum() const
|
| return std::min(std::max(optimum, min()), max());
|
| }
|
|
|
| -void HTMLMeterElement::setOptimum(double optimum, ExceptionState& es)
|
| +void HTMLMeterElement::setOptimum(double optimum, ExceptionState& exceptionState)
|
| {
|
| if (!std::isfinite(optimum)) {
|
| - es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return;
|
| }
|
| setAttribute(optimumAttr, String::number(optimum));
|
|
|