Index: lib/html/templates/html/dartium/html_dartium.darttemplate |
diff --git a/lib/html/templates/html/dartium/html_dartium.darttemplate b/lib/html/templates/html/dartium/html_dartium.darttemplate |
index 4225d60d6ae18935f2aae0a112fe62b6693a6386..4d3fb1e7f05f5c3f5b2079ac0482a6bc122e417e 100644 |
--- a/lib/html/templates/html/dartium/html_dartium.darttemplate |
+++ b/lib/html/templates/html/dartium/html_dartium.darttemplate |
@@ -45,22 +45,19 @@ LocalWindow get window { |
return __window; |
} |
-LocalWindow get _window native "Utils_window"; |
- |
Document __document; |
Document get document { |
if (__document != null) { |
return __document; |
} |
- __document = _document; |
+ __document = window.document; |
return __document; |
} |
-Document get _document => _window.document; |
-Element query(String selector) => _document.query(selector); |
-List<Element> queryAll(String selector) => _document.queryAll(selector); |
+Element query(String selector) => document.query(selector); |
+List<Element> queryAll(String selector) => document.queryAll(selector); |
int _getNewIsolateId() => _Utils._getNewIsolateId(); |