| Index: lib/dom/scripts/systemnative.py
|
| diff --git a/lib/dom/scripts/systemnative.py b/lib/dom/scripts/systemnative.py
|
| index 48d78d44580468130067f7ce1f5046d6747d768f..213f6b604f13c2488d4734a31a8a76d16d8542cc 100644
|
| --- a/lib/dom/scripts/systemnative.py
|
| +++ b/lib/dom/scripts/systemnative.py
|
| @@ -396,13 +396,13 @@ class NativeImplementationGenerator(systemwrapping.WrappingInterfaceGenerator):
|
| 'CPPPureInterface' in self._interface.ext_attrs or
|
| self._interface_type_info.custom_to_dart()):
|
| to_dart_template = (
|
| - 'Dart_Handle toDartValue($(WEBCORE_CLASS_NAME)* value);\n')
|
| + ' static Dart_Handle toDart($(WEBCORE_CLASS_NAME)* value);\n')
|
| else:
|
| to_dart_template = (
|
| - 'inline Dart_Handle toDartValue($(WEBCORE_CLASS_NAME)* value)\n'
|
| - '{\n'
|
| - ' return DartDOMWrapper::toDart<Dart$(INTERFACE)>(value);\n'
|
| - '}\n')
|
| + ' static Dart_Handle toDart($(WEBCORE_CLASS_NAME)* value)\n'
|
| + ' {\n'
|
| + ' return DartDOMWrapper::toDart<Dart$(INTERFACE)>(value);\n'
|
| + ' }\n')
|
|
|
| intermediate_emitter = emitter.Emitter()
|
| intermediate_emitter.Emit(
|
|
|