| Index: Source/core/html/HTMLMarqueeElement.cpp
|
| diff --git a/Source/core/html/HTMLMarqueeElement.cpp b/Source/core/html/HTMLMarqueeElement.cpp
|
| index 8ddabff8535c6e4b84ff628511c58793abff5c80..d85506a88624a76b906c3a3b253f3f99cd8bd21f 100644
|
| --- a/Source/core/html/HTMLMarqueeElement.cpp
|
| +++ b/Source/core/html/HTMLMarqueeElement.cpp
|
| @@ -127,10 +127,10 @@ int HTMLMarqueeElement::scrollAmount() const
|
| return ok && scrollAmount >= 0 ? scrollAmount : RenderStyle::initialMarqueeIncrement().intValue();
|
| }
|
|
|
| -void HTMLMarqueeElement::setScrollAmount(int scrollAmount, ExceptionState& es)
|
| +void HTMLMarqueeElement::setScrollAmount(int scrollAmount, ExceptionState& exceptionState)
|
| {
|
| if (scrollAmount < 0)
|
| - es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| else
|
| setIntegralAttribute(scrollamountAttr, scrollAmount);
|
| }
|
| @@ -142,10 +142,10 @@ int HTMLMarqueeElement::scrollDelay() const
|
| return ok && scrollDelay >= 0 ? scrollDelay : RenderStyle::initialMarqueeSpeed();
|
| }
|
|
|
| -void HTMLMarqueeElement::setScrollDelay(int scrollDelay, ExceptionState& es)
|
| +void HTMLMarqueeElement::setScrollDelay(int scrollDelay, ExceptionState& exceptionState)
|
| {
|
| if (scrollDelay < 0)
|
| - es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| else
|
| setIntegralAttribute(scrolldelayAttr, scrollDelay);
|
| }
|
| @@ -157,10 +157,10 @@ int HTMLMarqueeElement::loop() const
|
| return ok && loopValue > 0 ? loopValue : -1;
|
| }
|
|
|
| -void HTMLMarqueeElement::setLoop(int loop, ExceptionState& es)
|
| +void HTMLMarqueeElement::setLoop(int loop, ExceptionState& exceptionState)
|
| {
|
| if (loop <= 0 && loop != -1)
|
| - es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| else
|
| setIntegralAttribute(loopAttr, loop);
|
| }
|
|
|