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 a2bd1e8f02b2b37a7488bd6c4ba9f7f146d9857f..d15ba933ab7aed52e6d31c701513bf39ac9f23e7 100644 |
--- a/tools/dom/templates/html/dart2js/html_dart2js.darttemplate |
+++ b/tools/dom/templates/html/dart2js/html_dart2js.darttemplate |
@@ -116,7 +116,8 @@ Window get window => JS('Window', 'window'); |
/** |
* Root node for all content in a web page. |
*/ |
-HtmlDocument get document => JS('HtmlDocument', 'document'); |
+HtmlDocument get document => |
+ JS('returns:HtmlDocument;depends:none;effects:none;gvn:true', 'document'); |
// Workaround for tags like <cite> that lack their own Element subclass -- |
// Dart issue 1990. |