summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/bindings/v8/custom/V8Float64ArrayCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bindings/v8/custom/V8Float64ArrayCustom.cpp')
-rw-r--r--Source/WebCore/bindings/v8/custom/V8Float64ArrayCustom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/bindings/v8/custom/V8Float64ArrayCustom.cpp b/Source/WebCore/bindings/v8/custom/V8Float64ArrayCustom.cpp
index 8987b4faa..889bd323b 100644
--- a/Source/WebCore/bindings/v8/custom/V8Float64ArrayCustom.cpp
+++ b/Source/WebCore/bindings/v8/custom/V8Float64ArrayCustom.cpp
@@ -52,7 +52,7 @@ v8::Handle<v8::Value> V8Float64Array::setCallback(const v8::Arguments& args)
v8::Handle<v8::Value> toV8(Float64Array* impl, v8::Isolate* isolate)
{
if (!impl)
- return v8::Null();
+ return v8NullWithCheck(isolate);
v8::Handle<v8::Object> wrapper = V8Float64Array::wrap(impl, isolate);
if (!wrapper.IsEmpty())
wrapper->SetIndexedPropertiesToExternalArrayData(impl->baseAddress(), v8::kExternalDoubleArray, impl->length());