| Index: Source/bindings/scripts/v8_types.py
|
| diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py
|
| index df05d16f21b0682b0f6c21204573820cc97882da..96b07d8d40e82a2833ccb7cccfd1d147e9f1057f 100644
|
| --- a/Source/bindings/scripts/v8_types.py
|
| +++ b/Source/bindings/scripts/v8_types.py
|
| @@ -462,7 +462,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',
|
| 'NodeFilter': 'toNodeFilter({v8_value}, info.Holder(), ScriptState::current({isolate}))',
|
| 'Promise': 'ScriptPromise::cast(ScriptState::current({isolate}), {v8_value})',
|
| - 'SerializedScriptValue': 'SerializedScriptValue::create({v8_value}, {isolate})',
|
| + 'SerializedScriptValue': 'SerializedScriptValue::create({v8_value}, 0, 0, exceptionState, {isolate})',
|
| 'ScriptValue': 'ScriptValue(ScriptState::current({isolate}), {v8_value})',
|
| 'Window': 'toDOMWindow({v8_value}, {isolate})',
|
| 'XPathNSResolver': 'toXPathNSResolver({v8_value}, {isolate})',
|
| @@ -472,7 +472,7 @@ V8_VALUE_TO_CPP_VALUE = {
|
| def v8_conversion_needs_exception_state(idl_type):
|
| return (idl_type.is_numeric_type or
|
| idl_type.is_dictionary or
|
| - idl_type.name in ('ByteString', 'ScalarValueString'))
|
| + idl_type.name in ('ByteString', 'ScalarValueString', 'SerializedScriptValue'))
|
|
|
| IdlType.v8_conversion_needs_exception_state = property(v8_conversion_needs_exception_state)
|
|
|
|
|