| Index: Source/bindings/scripts/v8_utilities.py
|
| diff --git a/Source/bindings/scripts/v8_utilities.py b/Source/bindings/scripts/v8_utilities.py
|
| index b2b31efcbd6488501b95def9ece9c2cdb93b89e7..da957af733336e1d3764303965c72c5500baaa7b 100644
|
| --- a/Source/bindings/scripts/v8_utilities.py
|
| +++ b/Source/bindings/scripts/v8_utilities.py
|
| @@ -28,8 +28,6 @@
|
|
|
| """Functions shared by various parts of the code generator.
|
|
|
| -Extends IdlTypeBase type with |enum_validation_expression| property.
|
| -
|
| Design doc: http://www.chromium.org/developers/design-documents/idl-compiler
|
| """
|
|
|
| @@ -119,15 +117,6 @@ def uncapitalize(name):
|
| # C++
|
| ################################################################################
|
|
|
| -def enum_validation_expression(idl_type):
|
| - # FIXME: Add IdlEnumType, move property to derived type, and remove this check
|
| - if not idl_type.is_enum:
|
| - return None
|
| - return ' || '.join(['string == "%s"' % enum_value
|
| - for enum_value in idl_type.enum_values])
|
| -IdlTypeBase.enum_validation_expression = property(enum_validation_expression)
|
| -
|
| -
|
| def scoped_name(interface, definition, base_name):
|
| if 'ImplementedInPrivateScript' in definition.extended_attributes:
|
| return '%s::PrivateScript::%s' % (v8_class_name(interface), base_name)
|
|
|