Index: Source/bindings/v8/custom/V8IDBAnyCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8IDBAnyCustom.cpp b/Source/bindings/v8/custom/V8IDBAnyCustom.cpp |
index 51cbba0226df0a81a707392f9cee08856646cc35..bd23c91875144318da89b4310db376345e3c9b9a 100644 |
--- a/Source/bindings/v8/custom/V8IDBAnyCustom.cpp |
+++ b/Source/bindings/v8/custom/V8IDBAnyCustom.cpp |
@@ -55,7 +55,7 @@ static v8::Handle<v8::Value> toV8(const IDBKeyPath& value, v8::Handle<v8::Object |
return toV8(keyPaths.release(), creationContext, isolate); |
} |
ASSERT_NOT_REACHED(); |
- return v8::Undefined(); |
+ return v8::Undefined(isolate); |
} |
v8::Handle<v8::Value> toV8(IDBAny* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
@@ -65,7 +65,7 @@ v8::Handle<v8::Value> toV8(IDBAny* impl, v8::Handle<v8::Object> creationContext, |
switch (impl->type()) { |
case IDBAny::UndefinedType: |
- return v8::Undefined(); |
+ return v8::Undefined(isolate); |
case IDBAny::NullType: |
return v8NullWithCheck(isolate); |
case IDBAny::DOMStringListType: |
@@ -95,7 +95,7 @@ v8::Handle<v8::Value> toV8(IDBAny* impl, v8::Handle<v8::Object> creationContext, |
} |
ASSERT_NOT_REACHED(); |
- return v8::Undefined(); |
+ return v8::Undefined(isolate); |
} |
} // namespace WebCore |