Index: Source/bindings/v8/V8Binding.h |
diff --git a/Source/bindings/v8/V8Binding.h b/Source/bindings/v8/V8Binding.h |
index 3d35fd139976720cd30928140a3f14fdf07a2e6e..723840b2b8b762e44993139900967594246186c5 100644 |
--- a/Source/bindings/v8/V8Binding.h |
+++ b/Source/bindings/v8/V8Binding.h |
@@ -264,17 +264,17 @@ namespace WebCore { |
template<> |
struct V8ValueTraits<float> { |
- static inline v8::Handle<v8::Value> arrayV8Value(const float& value, v8::Isolate*) |
+ static inline v8::Handle<v8::Value> arrayV8Value(const float& value, v8::Isolate* isolate) |
{ |
- return v8::Number::New(value); |
+ return v8::Number::New(isolate, value); |
} |
}; |
template<> |
struct V8ValueTraits<double> { |
- static inline v8::Handle<v8::Value> arrayV8Value(const double& value, v8::Isolate*) |
+ static inline v8::Handle<v8::Value> arrayV8Value(const double& value, v8::Isolate* isolate) |
{ |
- return v8::Number::New(value); |
+ return v8::Number::New(isolate, value); |
} |
}; |