| Index: Source/core/html/HTMLMarqueeElement.cpp
|
| diff --git a/Source/core/html/HTMLMarqueeElement.cpp b/Source/core/html/HTMLMarqueeElement.cpp
|
| index e06c90a140c76b17e186cf931c414866a2222ec0..8628e6a70dc6abf20bc58107751090340ceb9cee 100644
|
| --- a/Source/core/html/HTMLMarqueeElement.cpp
|
| +++ b/Source/core/html/HTMLMarqueeElement.cpp
|
| @@ -26,7 +26,6 @@
|
| #include "CSSPropertyNames.h"
|
| #include "CSSValueKeywords.h"
|
| #include "HTMLNames.h"
|
| -#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/rendering/RenderMarquee.h"
|
| @@ -131,7 +130,7 @@ int HTMLMarqueeElement::scrollAmount() const
|
| void HTMLMarqueeElement::setScrollAmount(int scrollAmount, ExceptionState& exceptionState)
|
| {
|
| if (scrollAmount < 0)
|
| - exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::failedToSet("scrollAmount", "HTMLMarqueeElement", "The provided value (" + String::number(scrollAmount) + ") is negative."));
|
| + exceptionState.throwDOMException(IndexSizeError, "The provided value (" + String::number(scrollAmount) + ") is negative.");
|
| else
|
| setIntegralAttribute(scrollamountAttr, scrollAmount);
|
| }
|
| @@ -146,7 +145,7 @@ int HTMLMarqueeElement::scrollDelay() const
|
| void HTMLMarqueeElement::setScrollDelay(int scrollDelay, ExceptionState& exceptionState)
|
| {
|
| if (scrollDelay < 0)
|
| - exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::failedToSet("scrollDelay", "HTMLMarqueeElement", "The provided value (" + String::number(scrollDelay) + ") is negative."));
|
| + exceptionState.throwDOMException(IndexSizeError, "The provided value (" + String::number(scrollDelay) + ") is negative.");
|
| else
|
| setIntegralAttribute(scrolldelayAttr, scrollDelay);
|
| }
|
| @@ -161,7 +160,7 @@ int HTMLMarqueeElement::loop() const
|
| void HTMLMarqueeElement::setLoop(int loop, ExceptionState& exceptionState)
|
| {
|
| if (loop <= 0 && loop != -1)
|
| - exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::failedToSet("loop", "HTMLMarqueeElement", "The provided value (" + String::number(loop) + ") is neither positive nor -1."));
|
| + exceptionState.throwDOMException(IndexSizeError, "The provided value (" + String::number(loop) + ") is neither positive nor -1.");
|
| else
|
| setIntegralAttribute(loopAttr, loop);
|
| }
|
|
|