| Index: third_party/WebKit/Source/bindings/scripts/idl_types.py
|
| diff --git a/third_party/WebKit/Source/bindings/scripts/idl_types.py b/third_party/WebKit/Source/bindings/scripts/idl_types.py
|
| index 104e020e0963c2d36082e593104011c41c378e93..9ba59ed9fb96acded2d11d9a90bdb3486048bda4 100644
|
| --- a/third_party/WebKit/Source/bindings/scripts/idl_types.py
|
| +++ b/third_party/WebKit/Source/bindings/scripts/idl_types.py
|
| @@ -345,7 +345,7 @@ class IdlUnionType(IdlTypeBase):
|
| def single_matching_member_type(self, predicate):
|
| matching_types = filter(predicate, self.flattened_member_types)
|
| if len(matching_types) > 1:
|
| - raise "%s is ambigious." % self.name
|
| + raise ValueError('%s is ambiguous.' % self.name)
|
| return matching_types[0] if matching_types else None
|
|
|
| @property
|
|
|