summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/bindings/v8/custom/V8WorkerContextCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bindings/v8/custom/V8WorkerContextCustom.cpp')
-rw-r--r--Source/WebCore/bindings/v8/custom/V8WorkerContextCustom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/bindings/v8/custom/V8WorkerContextCustom.cpp b/Source/WebCore/bindings/v8/custom/V8WorkerContextCustom.cpp
index 78d94a402..17c9f1bbf 100644
--- a/Source/WebCore/bindings/v8/custom/V8WorkerContextCustom.cpp
+++ b/Source/WebCore/bindings/v8/custom/V8WorkerContextCustom.cpp
@@ -127,11 +127,11 @@ v8::Handle<v8::Value> V8WorkerContext::setIntervalCallback(const v8::Arguments&
v8::Handle<v8::Value> toV8(WorkerContext* impl, v8::Isolate* isolate)
{
if (!impl)
- return v8::Null();
+ return v8NullWithCheck(isolate);
WorkerContextExecutionProxy* proxy = impl->script()->proxy();
if (!proxy)
- return v8::Null();
+ return v8NullWithCheck(isolate);
v8::Handle<v8::Object> global = proxy->context()->Global();
ASSERT(!global.IsEmpty());