summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/bindings/v8/custom/V8HTMLDocumentCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bindings/v8/custom/V8HTMLDocumentCustom.cpp')
-rw-r--r--Source/WebCore/bindings/v8/custom/V8HTMLDocumentCustom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/bindings/v8/custom/V8HTMLDocumentCustom.cpp b/Source/WebCore/bindings/v8/custom/V8HTMLDocumentCustom.cpp
index b1a7b2b3e..6b9d0b327 100644
--- a/Source/WebCore/bindings/v8/custom/V8HTMLDocumentCustom.cpp
+++ b/Source/WebCore/bindings/v8/custom/V8HTMLDocumentCustom.cpp
@@ -187,7 +187,7 @@ void V8HTMLDocument::allAccessorSetter(v8::Local<v8::String> name, v8::Local<v8:
v8::Handle<v8::Value> toV8(HTMLDocument* impl, v8::Isolate* isolate, bool forceNewObject)
{
if (!impl)
- return v8::Null();
+ return v8NullWithCheck(isolate);
v8::Handle<v8::Object> wrapper = V8HTMLDocument::wrap(impl, isolate, forceNewObject);
if (wrapper.IsEmpty())
return wrapper;