Index: Source/bindings/scripts/v8_methods.py |
diff --git a/Source/bindings/scripts/v8_methods.py b/Source/bindings/scripts/v8_methods.py |
index fc2be4077ac9f39047d03b8cd2e94af7f47a7c4c..8ae459d810e73be14df93eef272f58240dd7413a 100644 |
--- a/Source/bindings/scripts/v8_methods.py |
+++ b/Source/bindings/scripts/v8_methods.py |
@@ -223,7 +223,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, |