| Index: lib/html/scripts/systemhtml.py
|
| diff --git a/lib/html/scripts/systemhtml.py b/lib/html/scripts/systemhtml.py
|
| index 8618c3f792bc1153277ee2bb112a4a9e5f7f1bda..caa51ef4ed6e6396e9b779196c1727a4c5b1c686 100644
|
| --- a/lib/html/scripts/systemhtml.py
|
| +++ b/lib/html/scripts/systemhtml.py
|
| @@ -845,8 +845,7 @@ class Dart2JSBackend(object):
|
| TYPE=return_type,
|
| HTML_NAME=html_name,
|
| NAME=info.declared_name,
|
| - PARAMS=info.ParametersDeclaration(
|
| - lambda type_name: self._NarrowInputType(type_name)))
|
| + PARAMS=info.ParametersDeclaration(self._NarrowInputType))
|
|
|
| operation_emitter.Emit(
|
| '\n'
|
| @@ -859,8 +858,7 @@ class Dart2JSBackend(object):
|
| MODIFIERS='static ' if info.IsStatic() else '',
|
| TYPE=self._NarrowOutputType(info.type_name),
|
| NAME=info.name,
|
| - PARAMS=info.ParametersDeclaration(
|
| - lambda type_name: self._NarrowInputType(type_name)))
|
| + PARAMS=info.ParametersDeclaration(self._NarrowInputType))
|
|
|
| def _AddOperationWithConversions(self, info, html_name):
|
| # Assert all operations have same return type.
|
|
|