| Index: Source/bindings/scripts/v8_types.py
|
| diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py
|
| index 466ab25e05ffe2237fc380efa6eff1c10e11ae9b..13db5d3c92f35f6bfbf22a2286447895231520dc 100644
|
| --- a/Source/bindings/scripts/v8_types.py
|
| +++ b/Source/bindings/scripts/v8_types.py
|
| @@ -371,7 +371,7 @@ V8_VALUE_TO_CPP_VALUE = {
|
| 'EventTarget': 'V8DOMWrapper::isDOMWrapper({v8_value}) ? toWrapperTypeInfo(v8::Handle<v8::Object>::Cast({v8_value}))->toEventTarget(v8::Handle<v8::Object>::Cast({v8_value})) : 0',
|
| 'MediaQueryListListener': 'MediaQueryListListener::create(ScriptValue(ScriptState::current(info.GetIsolate()), {v8_value}))',
|
| 'NodeFilter': 'toNodeFilter({v8_value}, info.GetIsolate())',
|
| - 'Promise': 'ScriptPromise({v8_value}, info.GetIsolate())',
|
| + 'Promise': 'ScriptPromise(ScriptState::current(info.GetIsolate()), {v8_value})',
|
| 'SerializedScriptValue': 'SerializedScriptValue::create({v8_value}, info.GetIsolate())',
|
| 'ScriptValue': 'ScriptValue(ScriptState::current(info.GetIsolate()), {v8_value})',
|
| 'Window': 'toDOMWindow({v8_value}, info.GetIsolate())',
|
|
|