Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(566)

Unified Diff: lib/html/templates/html/dartium/html_dartium.darttemplate

Issue 11365019: Merging dart:html interfaces and implementations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding generated files. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698