diff options
Diffstat (limited to 'WebCore/bindings/js/JSNodeListCustom.cpp')
-rw-r--r-- | WebCore/bindings/js/JSNodeListCustom.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/bindings/js/JSNodeListCustom.cpp b/WebCore/bindings/js/JSNodeListCustom.cpp index 2821d01..d013e4f 100644 --- a/WebCore/bindings/js/JSNodeListCustom.cpp +++ b/WebCore/bindings/js/JSNodeListCustom.cpp @@ -53,13 +53,13 @@ CallType JSNodeList::getCallData(CallData& callData) bool JSNodeList::canGetItemsForName(ExecState*, NodeList* impl, const Identifier& propertyName) { - return impl->itemWithName(propertyName); + return impl->itemWithName(identifierToAtomicString(propertyName)); } -JSValue JSNodeList::nameGetter(ExecState* exec, const Identifier& propertyName, const PropertySlot& slot) +JSValue JSNodeList::nameGetter(ExecState* exec, JSValue slotBase, const Identifier& propertyName) { - JSNodeList* thisObj = static_cast<JSNodeList*>(asObject(slot.slotBase())); - return toJS(exec, thisObj->impl()->itemWithName(propertyName)); + JSNodeList* thisObj = static_cast<JSNodeList*>(asObject(slotBase)); + return toJS(exec, thisObj->impl()->itemWithName(identifierToAtomicString(propertyName))); } } // namespace WebCore |