| Index: tools/dom/scripts/htmldartgenerator.py
|
| diff --git a/tools/dom/scripts/htmldartgenerator.py b/tools/dom/scripts/htmldartgenerator.py
|
| index fb116d176b6c3dc67b0ee815a1acf9df9c225397..c617c29ced9cda7e8e62fc476fc821f335e998b2 100644
|
| --- a/tools/dom/scripts/htmldartgenerator.py
|
| +++ b/tools/dom/scripts/htmldartgenerator.py
|
| @@ -386,15 +386,6 @@ class HtmlDartGenerator(object):
|
| METADATA=metadata,
|
| FACTORY_PARAMS=constructor_info.ParametersAsArgumentList())
|
|
|
| - for index, param_info in enumerate(constructor_info.param_infos):
|
| - if param_info.is_optional:
|
| - dispatcher_emitter.Emit(
|
| - ' if ($OPT_PARAM_NAME == null) {\n'
|
| - ' return $FACTORY._create($FACTORY_PARAMS);\n'
|
| - ' }\n',
|
| - OPT_PARAM_NAME=param_info.name,
|
| - FACTORY=factory_name,
|
| - FACTORY_PARAMS=constructor_info.ParametersAsArgumentList(index))
|
| else:
|
| inits = self._members_emitter.Emit(
|
| '\n $(METADATA)'
|
|
|