| Index: Source/bindings/core/v8/ScriptValue.h
|
| diff --git a/Source/bindings/core/v8/ScriptValue.h b/Source/bindings/core/v8/ScriptValue.h
|
| index f6255e8f27ba77baeb601b49efd8c935c32ba432..7ad2aecaed7c51507d12e55ea33d1dd2cecd2704 100644
|
| --- a/Source/bindings/core/v8/ScriptValue.h
|
| +++ b/Source/bindings/core/v8/ScriptValue.h
|
| @@ -52,10 +52,10 @@ public:
|
| return ScriptValue(scriptState, toV8(value, scriptState->context()->Global(), scriptState->isolate()));
|
| }
|
|
|
| - template<typename T>
|
| - inline T to(ExceptionState& exceptionState) const
|
| + template<typename T, typename... Arguments>
|
| + static inline T to(v8::Isolate* isolate, const ScriptValue& value, ExceptionState& exceptionState, Arguments const&... arguments)
|
| {
|
| - return NativeValueTraits<T>::nativeValue(isolate(), v8Value(), exceptionState);
|
| + return NativeValueTraits<T>::nativeValue(isolate, value.v8Value(), exceptionState, arguments...);
|
| }
|
|
|
| ScriptValue() { }
|
|
|