| Index: Source/bindings/v8/custom/V8NodeListCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8NodeListCustom.cpp b/Source/bindings/v8/custom/V8NodeListCustom.cpp
|
| index 42139e08ade379ed9d9650ab70a741c7ca9d3521..23edd385f990904a7360c1b7371a8cd9c278dad6 100644
|
| --- a/Source/bindings/v8/custom/V8NodeListCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8NodeListCustom.cpp
|
| @@ -42,23 +42,6 @@
|
|
|
| namespace WebCore {
|
|
|
| -v8::Handle<v8::Value> V8NodeList::namedPropertyGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
|
| -{
|
| - NodeList* list = V8NodeList::toNative(info.Holder());
|
| - AtomicString key = toWebCoreAtomicString(name);
|
| -
|
| - // Length property cannot be overridden.
|
| - DEFINE_STATIC_LOCAL(const AtomicString, length, ("length", AtomicString::ConstructFromLiteral));
|
| - if (key == length)
|
| - return v8Integer(list->length(), info.GetIsolate());
|
| -
|
| - RefPtr<Node> result = list->namedItem(key);
|
| - if (!result)
|
| - return v8Undefined();
|
| -
|
| - return toV8Fast(result.release(), info, list);
|
| -}
|
| -
|
| void* V8NodeList::opaqueRootForGC(void* object, v8::Persistent<v8::Object> wrapper, v8::Isolate* isolate)
|
| {
|
| ASSERT(V8NodeList::HasInstanceInAnyWorld(wrapper, isolate));
|
|
|