Index: Source/bindings/templates/interface.h |
diff --git a/Source/bindings/templates/interface.h b/Source/bindings/templates/interface.h |
index 8373a8ef838424449064ebc4561a66231a081a16..726334b68f301c12adde62a03408e10707f2b179 100644 |
--- a/Source/bindings/templates/interface.h |
+++ b/Source/bindings/templates/interface.h |
@@ -97,19 +97,19 @@ public: |
{% for attribute in attributes %} |
{% if attribute.has_custom_getter %}{# FIXME: and not attribute.implemented_by #} |
{% filter conditional(attribute.conditional_string) %} |
- {% if attribute.is_expose_js_accessors %} |
- static void {{attribute.name}}AttributeGetterCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
- {% else %} |
+ {% if attribute.is_data_type_property %} |
static void {{attribute.name}}AttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&); |
+ {% else %} |
+ static void {{attribute.name}}AttributeGetterCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
{% endif %} |
{% endfilter %} |
{% endif %} |
{% if attribute.has_custom_setter %}{# FIXME: and not attribute.implemented_by #} |
{% filter conditional(attribute.conditional_string) %} |
- {% if attribute.is_expose_js_accessors %} |
- static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, const v8::FunctionCallbackInfo<v8::Value>&); |
- {% else %} |
+ {% if attribute.is_data_type_property %} |
static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); |
+ {% else %} |
+ static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, const v8::FunctionCallbackInfo<v8::Value>&); |
{% endif %} |
{% endfilter %} |
{% endif %} |