summaryrefslogtreecommitdiff
path: root/Source/WebCore/bindings/v8/custom/V8HTMLSelectElementCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bindings/v8/custom/V8HTMLSelectElementCustom.cpp')
-rw-r--r--Source/WebCore/bindings/v8/custom/V8HTMLSelectElementCustom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/bindings/v8/custom/V8HTMLSelectElementCustom.cpp b/Source/WebCore/bindings/v8/custom/V8HTMLSelectElementCustom.cpp
index 015be3a0c..71473c56c 100644
--- a/Source/WebCore/bindings/v8/custom/V8HTMLSelectElementCustom.cpp
+++ b/Source/WebCore/bindings/v8/custom/V8HTMLSelectElementCustom.cpp
@@ -51,7 +51,7 @@ v8::Handle<v8::Value> V8HTMLSelectElement::indexedPropertyGetter(uint32_t index,
ASSERT(V8DOMWrapper::maybeDOMWrapper(info.Holder()));
RefPtr<Node> result = V8HTMLSelectElement::toNative(info.Holder())->item(index);
if (!result)
- return v8::Handle<v8::Value>();
+ return v8Undefined();
return toV8(result.release(), info.GetIsolate());
}