| Index: Source/core/svg/SVGStringListTearOff.h
|
| diff --git a/Source/core/svg/SVGStringListTearOff.h b/Source/core/svg/SVGStringListTearOff.h
|
| index 3e16f5c8154140d2af37d25e1c5ec241ba82ce4e..ed7419a339d3ab77b14c042e4dd3ab95db7f7313 100644
|
| --- a/Source/core/svg/SVGStringListTearOff.h
|
| +++ b/Source/core/svg/SVGStringListTearOff.h
|
| @@ -46,9 +46,9 @@ public:
|
| // SVGStringList DOM interface:
|
|
|
| // WebIDL requires "unsigned long" type instead of size_t.
|
| - unsigned long numberOfItems()
|
| + unsigned long length()
|
| {
|
| - return target()->numberOfItems();
|
| + return target()->length();
|
| }
|
|
|
| void clear(ExceptionState& exceptionState)
|
| @@ -106,6 +106,12 @@ public:
|
| return item;
|
| }
|
|
|
| + bool anonymousIndexedSetter(unsigned index, const String& item, ExceptionState& exceptionState)
|
| + {
|
| + replaceItem(item, index, exceptionState);
|
| + return true;
|
| + }
|
| +
|
| String removeItem(unsigned long index, ExceptionState& exceptionState)
|
| {
|
| if (isImmutable()) {
|
|
|