diff options
Diffstat (limited to 'Source/WebCore/bindings/v8/custom/V8NodeListCustom.cpp')
-rw-r--r-- | Source/WebCore/bindings/v8/custom/V8NodeListCustom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/bindings/v8/custom/V8NodeListCustom.cpp b/Source/WebCore/bindings/v8/custom/V8NodeListCustom.cpp index 9e1be9ade..681fe49d1 100644 --- a/Source/WebCore/bindings/v8/custom/V8NodeListCustom.cpp +++ b/Source/WebCore/bindings/v8/custom/V8NodeListCustom.cpp @@ -55,7 +55,7 @@ v8::Handle<v8::Value> V8NodeList::namedPropertyGetter(v8::Local<v8::String> name RefPtr<Node> result = list->itemWithName(key); if (!result) - return v8::Handle<v8::Value>(); + return v8Undefined(); return toV8(result.release(), info.GetIsolate()); } |