Chromium Code Reviews| Index: tools/dom/scripts/systemnative.py |
| diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py |
| index da954dfc02f6ae8ef29f1225b2a8264acac0512c..99e511a1f1d6052b50475248076f0fb26596f0f6 100644 |
| --- a/tools/dom/scripts/systemnative.py |
| +++ b/tools/dom/scripts/systemnative.py |
| @@ -383,6 +383,7 @@ class DartiumBackend(HtmlDartGenerator): |
| self._cpp_impl_includes = None |
| self._cpp_definitions_emitter = None |
| self._cpp_resolver_emitter = None |
| + self._dart_js_interop = options.dart_js_interop |
| def ImplementsMergedMembers(self): |
| # We could not add merged functions to implementation class because |
| @@ -1249,7 +1250,9 @@ class DartiumBackend(HtmlDartGenerator): |
| def GenerateCall( |
| stmts_emitter, call_emitter, version, operation, argument_count): |
| native_suffix = 'Callback' |
| - actuals = info.ParametersAsListOfVariables(argument_count, self._type_registry if self._dart_use_blink else None) |
| + actuals = info.ParametersAsListOfVariables(argument_count, |
| + self._type_registry if self._dart_use_blink else None, |
|
Alan Knight
2015/07/16 16:55:52
Indentation looks very weird here, but it might be
terry
2015/07/16 17:36:14
Because of the preceding ( it indents after the (
|
| + self._dart_js_interop) |
| actuals_s = ", ".join(actuals) |
| formals=actuals |
| return_type = self.SecureOutputType(operation.type.id) |