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

Unified Diff: lib/html/templates/html/impl/impl_SVGElement.darttemplate

Issue 10979063: Removing ElementList. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Syncing. Created 8 years, 3 months 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: lib/html/templates/html/impl/impl_SVGElement.darttemplate
diff --git a/lib/html/templates/html/impl/impl_SVGElement.darttemplate b/lib/html/templates/html/impl/impl_SVGElement.darttemplate
index 1aabd6c364f9b8952b4a6da0a8212b17ae8fdaa7..ffb2b58ed92434908bbde23d109719adf4a5275b 100644
--- a/lib/html/templates/html/impl/impl_SVGElement.darttemplate
+++ b/lib/html/templates/html/impl/impl_SVGElement.darttemplate
@@ -20,7 +20,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
return _cssClassSet;
}
- ElementList get elements => new FilteredElementList(this);
+ List<Element> get elements => new _FilteredElementList(this);
void set elements(Collection<Element> value) {
final elements = this.elements;
@@ -47,7 +47,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
// Wrap the SVG string in <svg> so that SVGElements are created, rather than
// HTMLElements.
container.innerHTML = '<svg version="1.1">$svg</svg>';
- this.elements = container.elements.first.elements;
+ this.elements = container.elements[0].elements;
}
$!MEMBERS

Powered by Google App Engine
This is Rietveld 408576698