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

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

Issue 11365203: Unmerging HTMLDocument from Document. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Try again? 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 c943facff2cc1c2d202c3a62494ebe4d07782613..b357f745190db54dbd90d6fd00aa92b96ec85c5e 100644
--- a/sdk/lib/html/templates/html/dartium/html_dartium.darttemplate
+++ b/sdk/lib/html/templates/html/dartium/html_dartium.darttemplate
@@ -39,25 +39,24 @@ 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 _window;
LocalWindow get window {
- if (__window != null) {
- return __window;
+ if (_window != null) {
+ return _window;
}
- __window = _Utils.window();
- return __window;
+ _window = _Utils.window();
+ return _window;
}
-Document __document;
+HtmlDocument _document;
-Document get document {
- if (__document != null) {
- return __document;
+HtmlDocument get document {
+ if (_document != null) {
+ return _document;
}
- __document = window.document;
- return __document;
+ _document = window.document;
+ return _document;
}

Powered by Google App Engine
This is Rietveld 408576698