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 cfd1e673b651f38a5aca98305ad624dc31d6d6cf..c5252e61240ff497473c015230fcfa02861a3056 100644 |
--- a/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate |
+++ b/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate |
@@ -40,7 +40,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); |