Index: Source/bindings/scripts/v8_methods.py |
diff --git a/Source/bindings/scripts/v8_methods.py b/Source/bindings/scripts/v8_methods.py |
index 197cdfbfff6ad4b7b526b42e37934270cced54fe..39412adc9ef424e9034109f7414a1bede8db9cc8 100644 |
--- a/Source/bindings/scripts/v8_methods.py |
+++ b/Source/bindings/scripts/v8_methods.py |
@@ -221,7 +221,7 @@ def argument_context(interface, method, argument, index): |
'cpp_value': this_cpp_value, |
# FIXME: check that the default value's type is compatible with the argument's |
'set_default_value': set_default_value, |
- 'enum_validation_expression': idl_type.enum_validation_expression, |
+ 'enum_values': idl_type.enum_values, |
'handle': '%sHandle' % argument.name, |
# FIXME: remove once [Default] removed and just use argument.default_value |
'has_default': 'Default' in extended_attributes or set_default_value, |