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

Unified Diff: tools/dom/templates/html/impl/impl_Element.darttemplate

Issue 11779024: Fix FrozenElementListIterator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Run go.sh Created 7 years, 11 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
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_Element.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
index 72af8a8363453b7a5bec1153e2dcdbed5c351950..c9fd1da7dae35181f7dd7c569ceab30f7307ff24 100644
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
@@ -389,6 +389,7 @@ class _FrozenElementList implements List {
class _FrozenElementListIterator implements Iterator<Element> {
final _FrozenElementList _list;
int _index = 0;
+ Element _current;
_FrozenElementListIterator(this._list);
@@ -414,7 +415,7 @@ class _FrozenElementListIterator implements Iterator<Element> {
* Return [:null:] if the iterator is positioned before the first, or
* after the last element.
*/
- E get current => _current;
+ Element get current => _current;
}
class _ElementCssClassSet extends CssClassSet {
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698