Index: Source/core/html/HTMLMarqueeElement.js |
diff --git a/Source/core/html/HTMLMarqueeElement.js b/Source/core/html/HTMLMarqueeElement.js |
index e99d34df7e3428d52e2844f92572ab0e0fe4dbe6..0001a19f48f1aac4dbe873158f8799322c9a4076 100644 |
--- a/Source/core/html/HTMLMarqueeElement.js |
+++ b/Source/core/html/HTMLMarqueeElement.js |
@@ -4,7 +4,7 @@ |
'use strict'; |
-installClass('HTMLMarqueeElement', function(HTMLMarqueeElementPrototype) { |
+privateScriptController.installClass('HTMLMarqueeElement', function(HTMLMarqueeElementPrototype) { |
var kDefaultScrollAmount = 6; |
var kDefaultScrollDelayMS = 85; |
@@ -163,7 +163,7 @@ installClass('HTMLMarqueeElement', function(HTMLMarqueeElementPrototype) { |
}, |
set: function(value) { |
if (value < 0) |
- throwException(PrivateScriptDOMException.IndexSizeError, "The provided value (" + value + ") is negative."); |
+ privateScriptController.throwException(privateScriptController.DOMException.IndexSizeError, "The provided value (" + value + ") is negative."); |
this.setAttribute('scrollamount', value); |
}, |
}); |
@@ -178,7 +178,7 @@ installClass('HTMLMarqueeElement', function(HTMLMarqueeElementPrototype) { |
}, |
set: function(value) { |
if (value < 0) |
- throwException(PrivateScriptDOMException.IndexSizeError, "The provided value (" + value + ") is negative."); |
+ privateScriptController.throwException(privateScriptController.DOMException.IndexSizeError, "The provided value (" + value + ") is negative."); |
this.setAttribute('scrolldelay', value); |
}, |
}); |
@@ -193,7 +193,7 @@ installClass('HTMLMarqueeElement', function(HTMLMarqueeElementPrototype) { |
}, |
set: function(value) { |
if (value <= 0 && value != -1) |
- throwException(PrivateScriptDOMException.IndexSizeError, "The provided value (" + value + ") is neither positive nor -1."); |
+ privateScriptController.throwException(privateScriptController.DOMException.IndexSizeError, "The provided value (" + value + ") is neither positive nor -1."); |
this.setAttribute('loop', value); |
}, |
}); |