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

Unified Diff: client/html/src/GlobalProperties.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years 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
« no previous file with comments | « client/html/src/ElementWrappingImplementation.dart ('k') | client/html/src/Measurement.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/GlobalProperties.dart
diff --git a/client/html/src/GlobalProperties.dart b/client/html/src/GlobalProperties.dart
index 63a9afdd893c95bcd8fff7abfe06d7eba216ae7d..848eb433def91bce0d8cb5c579668ea06e7a7162 100644
--- a/client/html/src/GlobalProperties.dart
+++ b/client/html/src/GlobalProperties.dart
@@ -2,19 +2,19 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-var secretWindow;
-var secretDocument;
+Window secretWindow;
+Document secretDocument;
Window get window() {
if (secretWindow === null) {
- LevelDom.initialize(dom.window);
+ LevelDom.initialize();
}
return secretWindow;
}
Document get document() {
if (secretWindow === null) {
- LevelDom.initialize(dom.window);
+ LevelDom.initialize();
}
return secretDocument;
}
« no previous file with comments | « client/html/src/ElementWrappingImplementation.dart ('k') | client/html/src/Measurement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698