Index: Source/core/dom/DOMStringMap.h |
diff --git a/Source/core/dom/DOMStringMap.h b/Source/core/dom/DOMStringMap.h |
index cbcc402722d870c7c15407c8f51559d4947a2ed3..6f1cd28f229e3e19cf9ed4d00774dc5cf50207d0 100644 |
--- a/Source/core/dom/DOMStringMap.h |
+++ b/Source/core/dom/DOMStringMap.h |
@@ -73,6 +73,19 @@ public: |
} |
bool namedPropertyQuery(const AtomicString&, ExceptionState&); |
+ String anonymousIndexedGetter(uint32_t index) |
+ { |
+ return item(String::number(index)); |
+ } |
+ bool anonymousIndexedSetter(uint32_t index, const String& value, ExceptionState& es) |
+ { |
+ return anonymousNamedSetter(String::number(index), value, es); |
+ } |
+ bool anonymousIndexedDeleter(uint32_t index, ExceptionState& es) |
+ { |
+ return anonymousNamedDeleter(AtomicString(String::number(index)), es); |
+ } |
+ |
virtual Element* element() = 0; |
protected: |