Index: sdk/lib/html/scripts/systemhtml.py |
diff --git a/sdk/lib/html/scripts/systemhtml.py b/sdk/lib/html/scripts/systemhtml.py |
index 4f8600176e5c392c1dfe7a5b6a9b4c9217a116a4..1fc91ed31d88a7d7c8e9d17eb6a348226614d48c 100644 |
--- a/sdk/lib/html/scripts/systemhtml.py |
+++ b/sdk/lib/html/scripts/systemhtml.py |
@@ -782,7 +782,8 @@ class Dart2JSBackend(HtmlDartGenerator): |
call_emitter.Emit('$(INDENT)return $CALL;\n', CALL=call) |
self._members_emitter.Emit( |
- ' $TYPE$TARGET($PARAMS) native "$NATIVE";\n', |
+ ' $MODIFIERS$TYPE$TARGET($PARAMS) native "$NATIVE";\n', |
+ MODIFIERS='static ' if info.IsStatic() else '', |
TYPE=TypeOrNothing(native_return_type), |
TARGET=target, |
PARAMS=', '.join(target_parameters), |