| Index: third_party/WebKit/Source/bindings/scripts/idl_definitions.py
|
| diff --git a/third_party/WebKit/Source/bindings/scripts/idl_definitions.py b/third_party/WebKit/Source/bindings/scripts/idl_definitions.py
|
| index 678a149d81c548bad1f6b5b08b50de9e2af91774..52937edac87fb2d5e9aac1532163f7c411428e55 100644
|
| --- a/third_party/WebKit/Source/bindings/scripts/idl_definitions.py
|
| +++ b/third_party/WebKit/Source/bindings/scripts/idl_definitions.py
|
| @@ -1015,7 +1015,7 @@ def type_node_inner_to_type(node):
|
| # Note Type*r*ef, not Typedef, meaning the type is an identifier, thus
|
| # either a typedef shorthand (but not a Typedef declaration itself) or an
|
| # interface type. We do not distinguish these, and just use the type name.
|
| - if node_class in ['PrimitiveType', 'Typeref']:
|
| + if node_class in ['PrimitiveType', 'StringType', 'Typeref']:
|
| # unrestricted syntax: unrestricted double | unrestricted float
|
| is_unrestricted = bool(node.GetProperty('UNRESTRICTED'))
|
| return IdlType(node.GetName(), is_unrestricted=is_unrestricted)
|
|
|