Index: sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate |
diff --git a/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate b/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate |
index a1fab973708bcb586dfcf18718688649ceec338a..b2de0d3cca956d03ff11b7da15abb32c739dd7cb 100644 |
--- a/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate |
+++ b/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate |
@@ -43,7 +43,7 @@ part '$AUXILIARY_DIR/_Lists.dart'; |
LocalWindow get window => JS('LocalWindow', 'window'); |
-Document get document => JS('Document', 'document'); |
+HtmlDocument get document => JS('Document', 'document'); |
Element query(String selector) => document.query(selector); |
List<Element> queryAll(String selector) => document.queryAll(selector); |