| Index: third_party/WebKit/Source/bindings/core/v8/ScriptValue.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptValue.h b/third_party/WebKit/Source/bindings/core/v8/ScriptValue.h
|
| index 539bf11f607f1e40e21d2b69590360cac49a4d1f..06b5c254982ceaab349d78c22cc3ed82d12d3838 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptValue.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptValue.h
|
| @@ -45,11 +45,9 @@ namespace blink {
|
| class CORE_EXPORT ScriptValue final {
|
| DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
|
| public:
|
| + // Defined in ToV8.h due to circular dependency
|
| template<typename T>
|
| - static ScriptValue from(ScriptState* scriptState, T value)
|
| - {
|
| - return ScriptValue(scriptState, toV8(value, scriptState->context()->Global(), scriptState->isolate()));
|
| - }
|
| + static ScriptValue from(ScriptState*, T&& value);
|
|
|
| template<typename T, typename... Arguments>
|
| static inline T to(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState, Arguments const&... arguments)
|
|
|