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

Unified Diff: sdk/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: Fixing merged classes in dartium not compiling under dartc. 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: sdk/lib/html/templates/html/dartium/html_dartium.darttemplate
diff --git a/sdk/lib/html/templates/html/dartium/html_dartium.darttemplate b/sdk/lib/html/templates/html/dartium/html_dartium.darttemplate
index 8b0655f59a9fbec6450802b69f50f85624440166..eb166360ee6044b65eeb7a8561ce42a22d759e19 100644
--- a/sdk/lib/html/templates/html/dartium/html_dartium.darttemplate
+++ b/sdk/lib/html/templates/html/dartium/html_dartium.darttemplate
@@ -36,6 +36,7 @@ part '$AUXILIARY_DIR/_Lists.dart';
part '$AUXILIARY_DIR/native_DOMPublic.dart';
part '$AUXILIARY_DIR/native_DOMImplementation.dart';
+// FIXME (blois): Rename to _window (ditto __document).
LocalWindow __window;
LocalWindow get window {
@@ -46,22 +47,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