Index: tools/dom/scripts/systemnative.py |
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py |
index 891b2875642324fb2af1d3969e88056d04f387c9..2b34db46894a9fcc0618110831053f7d93ae7952 100644 |
--- a/tools/dom/scripts/systemnative.py |
+++ b/tools/dom/scripts/systemnative.py |
@@ -40,6 +40,11 @@ class DartiumBackend(HtmlDartGenerator): |
cpp_impl_includes = set() |
cpp_header_handlers_emitter = emitter.Emitter() |
+ # TODO(antonm): FIX IT |
+ if self._interface.id == 'MutationCallback': |
+ cpp_header_handlers_emitter.Emit( |
+ '\n' |
+ ' virtual ScriptExecutionContext* scriptExecutionContext() const;\n') |
cpp_impl_handlers_emitter = emitter.Emitter() |
class_name = 'Dart%s' % self._interface.id |
for operation in self._interface.operations: |