Index: tools/dom/scripts/systemnative.py |
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py |
index 659d24cbe815a55cd0277597d817b5657121a197..1df7f8cf952559d865f0ba709e3cc761d1e353e3 100644 |
--- a/tools/dom/scripts/systemnative.py |
+++ b/tools/dom/scripts/systemnative.py |
@@ -308,6 +308,13 @@ class DartiumBackend(HtmlDartGenerator): |
def IsConstructorArgumentOptional(self, argument): |
return IsOptional(argument) |
+ def MakeFactoryCall(self, factory, method, arguments, constructor_info): |
+ return emitter.Format( |
+ '$FACTORY.$METHOD($ARGUMENTS)', |
+ FACTORY=factory, |
+ METHOD=method, |
+ ARGUMENTS=arguments) |
+ |
def EmitStaticFactoryOverload(self, constructor_info, name, arguments): |
constructor_callback_cpp_name = name + 'constructorCallback' |
self._EmitConstructorInfrastructure( |