Index: third_party/WebKit/Source/bindings/scripts/v8_types.py |
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_types.py b/third_party/WebKit/Source/bindings/scripts/v8_types.py |
index 8e1b3e02262d9ab8f94ff1106df4674826875e6b..121779c8e03990b59f938dd13e26cedbbe985233 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/v8_types.py |
+++ b/third_party/WebKit/Source/bindings/scripts/v8_types.py |
@@ -606,6 +606,11 @@ def v8_value_to_cpp_value(idl_type, extended_attributes, v8_value, variable_name |
elif 'Clamp' in extended_attributes: |
configuration = 'kClamp' |
arguments = ', '.join([v8_value, 'exceptionState', configuration]) |
+ elif base_idl_type == 'SerializedScriptValue': |
+ arguments = ', '.join([ |
+ v8_value, |
+ 'SerializedScriptValue::SerializeOptions(SerializedScriptValue::kNotForStorage)', |
+ 'exceptionState']) |
elif idl_type.v8_conversion_needs_exception_state: |
arguments = ', '.join([v8_value, 'exceptionState']) |
else: |