summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/bindings/v8/custom/V8EventCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bindings/v8/custom/V8EventCustom.cpp')
-rw-r--r--Source/WebCore/bindings/v8/custom/V8EventCustom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/bindings/v8/custom/V8EventCustom.cpp b/Source/WebCore/bindings/v8/custom/V8EventCustom.cpp
index e305c9a03..9da52c74f 100644
--- a/Source/WebCore/bindings/v8/custom/V8EventCustom.cpp
+++ b/Source/WebCore/bindings/v8/custom/V8EventCustom.cpp
@@ -76,7 +76,7 @@ v8::Handle<v8::Value> V8Event::clipboardDataAccessorGetter(v8::Local<v8::String>
v8::Handle<v8::Value> toV8(Event* event, v8::Isolate *isolate)
{
if (!event)
- return v8::Null();
+ return v8NullWithCheck(isolate);
String desiredInterface = event->interfaceName();