summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/bindings/v8/custom/V8StyleSheetCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bindings/v8/custom/V8StyleSheetCustom.cpp')
-rw-r--r--Source/WebCore/bindings/v8/custom/V8StyleSheetCustom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/bindings/v8/custom/V8StyleSheetCustom.cpp b/Source/WebCore/bindings/v8/custom/V8StyleSheetCustom.cpp
index 6a03cefbe..a58b69909 100644
--- a/Source/WebCore/bindings/v8/custom/V8StyleSheetCustom.cpp
+++ b/Source/WebCore/bindings/v8/custom/V8StyleSheetCustom.cpp
@@ -40,7 +40,7 @@ namespace WebCore {
v8::Handle<v8::Value> toV8(StyleSheet* impl, v8::Isolate* isolate)
{
if (!impl)
- return v8::Null();
+ return v8NullWithCheck(isolate);
if (impl->isCSSStyleSheet())
return toV8(static_cast<CSSStyleSheet*>(impl), isolate);
v8::Handle<v8::Object> wrapper = V8StyleSheet::wrap(impl, isolate);