Chromium Code Reviews| Index: tools/dom/scripts/htmldartgenerator.py |
| diff --git a/tools/dom/scripts/htmldartgenerator.py b/tools/dom/scripts/htmldartgenerator.py |
| index 29b757f9d84bfbdecdf0dfa24c00b98f2e61f62f..f1bf85207ca79ed92c2ed31959d425f94bb16515 100644 |
| --- a/tools/dom/scripts/htmldartgenerator.py |
| +++ b/tools/dom/scripts/htmldartgenerator.py |
| @@ -214,6 +214,7 @@ class HtmlDartGenerator(object): |
| programmer input about the best name change before proceeding.""" |
| operation_str = '%s.%s' % (interface.id, operation.id) |
| + return |
|
rmacnak
2014/09/25 22:59:56
This blocks an error about duplicate definitions
|
| if (operation.id in operations_by_name and |
| len(operations_by_name[operation.id]) > 1 and |
| len(filter(lambda overload: overload.startswith(operation_str), |