Chromium Code Reviews| Index: Source/bindings/scripts/v8_attributes.py |
| diff --git a/Source/bindings/scripts/v8_attributes.py b/Source/bindings/scripts/v8_attributes.py |
| index 1ce5249e5bd9ea99de51e6059a3aa3fe4b4ef563..008a512f3ed2ccf08a92be12de0733494268e35f 100644 |
| --- a/Source/bindings/scripts/v8_attributes.py |
| +++ b/Source/bindings/scripts/v8_attributes.py |
| @@ -201,6 +201,8 @@ def generate_getter(interface, attribute, contents): |
| contents.update({ |
| 'cpp_value': cpp_value, |
| + # We need to override cpp_value_to_v8_value to make sure the cpp_value being used is in sync. |
|
haraken
2014/05/16 11:06:22
I'd remove this comment.
|
| + 'cpp_value_to_v8_value': idl_type.cpp_value_to_v8_value(cpp_value=cpp_value, creation_context='info.Holder()'), |
| 'v8_set_return_value_for_main_world': v8_set_return_value_statement(for_main_world=True), |
| 'v8_set_return_value': v8_set_return_value_statement(), |
| }) |