| Index: Source/core/html/HTMLMarqueeElement.cpp
|
| diff --git a/Source/core/html/HTMLMarqueeElement.cpp b/Source/core/html/HTMLMarqueeElement.cpp
|
| index 6c5362c273a39e4a5fabb46a90361edd0fd5561f..ccd1f12cb6c990184f8885daf696f894572ec797 100644
|
| --- a/Source/core/html/HTMLMarqueeElement.cpp
|
| +++ b/Source/core/html/HTMLMarqueeElement.cpp
|
| @@ -126,7 +126,7 @@ int HTMLMarqueeElement::scrollAmount() const
|
| int scrollAmount = fastGetAttribute(scrollamountAttr).toInt(&ok);
|
| return ok && scrollAmount >= 0 ? scrollAmount : RenderStyle::initialMarqueeIncrement().intValue();
|
| }
|
| -
|
| +
|
| void HTMLMarqueeElement::setScrollAmount(int scrollAmount, ExceptionCode& ec)
|
| {
|
| if (scrollAmount < 0)
|
| @@ -134,7 +134,7 @@ void HTMLMarqueeElement::setScrollAmount(int scrollAmount, ExceptionCode& ec)
|
| else
|
| setIntegralAttribute(scrollamountAttr, scrollAmount);
|
| }
|
| -
|
| +
|
| int HTMLMarqueeElement::scrollDelay() const
|
| {
|
| bool ok;
|
| @@ -149,14 +149,14 @@ void HTMLMarqueeElement::setScrollDelay(int scrollDelay, ExceptionCode& ec)
|
| else
|
| setIntegralAttribute(scrolldelayAttr, scrollDelay);
|
| }
|
| -
|
| +
|
| int HTMLMarqueeElement::loop() const
|
| {
|
| bool ok;
|
| int loopValue = fastGetAttribute(loopAttr).toInt(&ok);
|
| return ok && loopValue > 0 ? loopValue : -1;
|
| }
|
| -
|
| +
|
| void HTMLMarqueeElement::setLoop(int loop, ExceptionCode& ec)
|
| {
|
| if (loop <= 0 && loop != -1)
|
|
|