Index: lib/dom/scripts/systemhtml.py |
diff --git a/lib/dom/scripts/systemhtml.py b/lib/dom/scripts/systemhtml.py |
index 18c7176451aa1c179ecc3d49277737d7a07032e2..b5fd89b2195832b9cb29d2733df175d8045e412b 100644 |
--- a/lib/dom/scripts/systemhtml.py |
+++ b/lib/dom/scripts/systemhtml.py |
@@ -981,15 +981,12 @@ class HtmlFrogClassGenerator(FrogInterfaceGenerator): |
TYPE=return_type, |
HTML_NAME=html_name, |
NAME=info.name, |
- RETURN='' if return_type == 'void' else 'return ', |
- PARAMNAMES=info.ParametersAsArgumentList(), |
PARAMS=info.ParametersImplementationDeclaration( |
lambda type_name: self._NarrowInputType(type_name))) |
operation_emitter.Emit( |
'\n' |
- ' $TYPE $(HTML_NAME)($PARAMS)' |
- ' native "$(RETURN)this.$NAME($PARAMNAMES);";\n') |
+ ' $TYPE $(HTML_NAME)($PARAMS) native "$NAME";\n') |
else: |
self._members_emitter.Emit( |
'\n' |