| Index: tools/dom/scripts/systemhtml.py
|
| diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py
|
| index 3684d7caff590bc8c1372b2288c462294587ca1f..11db1f7a9dcf454a43d0f6d34526fcb527de955a 100644
|
| --- a/tools/dom/scripts/systemhtml.py
|
| +++ b/tools/dom/scripts/systemhtml.py
|
| @@ -1242,7 +1242,7 @@ class Dart2JSBackend(HtmlDartGenerator):
|
|
|
| if native_type != return_type:
|
| anns = anns + [
|
| - "@Returns('%s')" % native_type,
|
| + "@Returns('%s|Null')" % native_type,
|
| "@Creates('%s')" % native_type,
|
| ]
|
| if dart_type == 'dynamic' or dart_type == 'Object':
|
|
|