Index: sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate |
diff --git a/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate b/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate |
index d99ed226ad0598e6d4b3313338dbcc94da4a3a9f..cfd1e673b651f38a5aca98305ad624dc31d6d6cf 100644 |
--- a/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate |
+++ b/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate |
@@ -39,18 +39,15 @@ part '$AUXILIARY_DIR/_Lists.dart'; |
LocalWindow get window => JS('LocalWindow', 'window'); |
-_LocalWindowImpl get _window => JS('_LocalWindowImpl', 'window'); |
Document get document => JS('Document', 'document'); |
-_DocumentImpl get _document => JS('_DocumentImpl', '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); |
// Workaround for tags like <cite> that lack their own Element subclass -- |
// Dart issue 1990. |
-class _HTMLElementImpl extends _ElementImpl native "*HTMLElement" { |
+class HTMLElement extends Element native "*HTMLElement" { |
} |
// Support for Send/ReceivePortSync. |