Index: sdk/lib/html/templates/html/impl/impl_Document.darttemplate |
diff --git a/sdk/lib/html/templates/html/impl/impl_Document.darttemplate b/sdk/lib/html/templates/html/impl/impl_Document.darttemplate |
index 77bd73162d35ad81893e0f42d610432eac7e67ec..5469b16ad456182044dcc59d9014875d37ae14fa 100644 |
--- a/sdk/lib/html/templates/html/impl/impl_Document.darttemplate |
+++ b/sdk/lib/html/templates/html/impl/impl_Document.darttemplate |
@@ -2,7 +2,7 @@ |
// 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. |
-class $CLASSNAME extends _NodeImpl implements Document |
+class $CLASSNAME extends Node |
$if DART2JS |
native "*HTMLDocument" |
$endif |
@@ -11,7 +11,7 @@ $endif |
$!MEMBERS |
// TODO(jacobr): implement all Element methods not on Document. |
- _ElementImpl query(String selectors) { |
+ Element query(String selectors) { |
// It is fine for our RegExp to detect element id query selectors to have |
// false negatives but not false positives. |
if (const RegExp("^#[_a-zA-Z]\\w*\$").hasMatch(selectors)) { |