Index: tools/dom/templates/html/dart2js/html_dart2js.darttemplate |
diff --git a/tools/dom/templates/html/dart2js/html_dart2js.darttemplate b/tools/dom/templates/html/dart2js/html_dart2js.darttemplate |
index 8a0ef29daade6339c5a3e620fc02368aab4508a5..83b04fd5a4476402be2a4abae60ee5af76bf6ea6 100644 |
--- a/tools/dom/templates/html/dart2js/html_dart2js.darttemplate |
+++ b/tools/dom/templates/html/dart2js/html_dart2js.darttemplate |
@@ -65,7 +65,7 @@ Window get window => JS('Window', 'window'); |
/** |
* The top-level Document object. |
*/ |
-HtmlDocument get document => JS('Document', 'document'); |
+HtmlDocument get document => JS('HtmlDocument', 'document'); |
Element query(String selector) => document.query(selector); |
List<Element> queryAll(String selector) => document.queryAll(selector); |