Index: Source/bindings/v8/ScriptValue.h |
diff --git a/Source/bindings/v8/ScriptValue.h b/Source/bindings/v8/ScriptValue.h |
index a85a23c80df028850d1391505aa0ce072ac651b8..dc5e498f51892b51f9e8f9c6b7390e1f7df555a5 100644 |
--- a/Source/bindings/v8/ScriptValue.h |
+++ b/Source/bindings/v8/ScriptValue.h |
@@ -61,7 +61,7 @@ public: |
virtual ~ScriptValue(); |
ScriptValue(v8::Handle<v8::Value> value) |
- : m_value(value.IsEmpty() ? 0 : SharedPersistent<v8::Value>::create(value)) |
+ : m_value(value.IsEmpty() ? 0 : SharedPersistent<v8::Value>::create(value, v8::Isolate::GetCurrent())) |
{ |
} |