Chromium Code Reviews| Index: Source/bindings/templates/interface_base.cpp |
| diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp |
| index 959478b4adc464a8e7857ae84d4a0f0a18809415..9f84dfbd1591d3079c294f19ca8a5bca84d16ed9 100644 |
| --- a/Source/bindings/templates/interface_base.cpp |
| +++ b/Source/bindings/templates/interface_base.cpp |
| @@ -93,7 +93,7 @@ template <typename T> void V8_USE(T) { } |
| {% block security_check_functions %}{% endblock %} |
| {# Methods #} |
| {% from 'methods.cpp' import generate_method, overload_resolution_method, |
| - method_callback with context %} |
| + method_callback, domain_safe_method_getter with context %} |
| {% for method in methods %} |
| {% for world_suffix in method.world_suffixes %} |
| {% if not method.is_custom %} |
| @@ -106,8 +106,12 @@ template <typename T> void V8_USE(T) { } |
| {# A single callback is generated for overloaded methods #} |
| {{method_callback(method, world_suffix)}} |
| {% endif %} |
| +{% if method.is_do_not_check_security %} |
| +{{domain_safe_method_getter(method, world_suffix)}} |
|
haraken
2013/11/21 10:13:05
domain_safe_method_getter => origin_safe_method_ge
|
| +{% endif %} |
| {% endfor %} |
| {% endfor %} |
| +{% block domain_safe_method_setter %}{% endblock %} |
| } // namespace {{cpp_class_name}}V8Internal |
| {% block class_attributes %}{% endblock %} |