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 5f84c1f4aa75f4a6e0844cf3a72d69acd4b85b81..4ab1438cf5687b8520f1916aee8740f0256d5756 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); |