Chromium Code Reviews| Index: Source/bindings/templates/dictionary_impl.h |
| diff --git a/Source/bindings/templates/dictionary_impl.h b/Source/bindings/templates/dictionary_impl.h |
| index b52b1c44aa56991fc49144d39cadc8b9278ae597..6ae8fa6f9777049875b530f0c6c67fdd6c42c616 100644 |
| --- a/Source/bindings/templates/dictionary_impl.h |
| +++ b/Source/bindings/templates/dictionary_impl.h |
| @@ -23,6 +23,7 @@ public: |
| bool {{member.has_method_name}}() const { return {{member.has_method_expression}}; } |
| {{member.rvalue_cpp_type}} {{member.cpp_name}}() const { return {{member.getter_expression}}; } |
| void {{member.setter_name}}({{member.rvalue_cpp_type}} value) { m_{{member.cpp_name}} = value; } |
| + void {{member.resetter_name}}() { m_{{member.cpp_name}} = {{member.member_cpp_type}}(); } |
|
Jens Widell
2014/11/28 06:36:18
We could have this only for nullable members, and
bashi
2014/11/28 10:52:48
Done.
|
| {% endfor %} |
| virtual void trace(Visitor*); |