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

Unified Diff: lib/runtime/dart/html.js

Issue 1680263002: Support for dart:typed_data (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Refine comment Created 4 years, 10 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/runtime/dart/html.js
diff --git a/lib/runtime/dart/html.js b/lib/runtime/dart/html.js
index c66d0a47403cca04484b4dcc690cd9e8ee613446..a08edc09cb25a5ddb3007679db8edf9b6d92f8b7 100644
--- a/lib/runtime/dart/html.js
+++ b/lib/runtime/dart/html.js
@@ -5273,7 +5273,7 @@ dart_library.library('dart/html', null, /* Imports */[
return value;
}
get iterator() {
- return this.toList()[dartx.iterator];
+ return this[dartx.toList]()[dartx.iterator];
}
addAll(iterable) {
if (dart.is(iterable, _ChildNodeListLazy)) {

Powered by Google App Engine
This is Rietveld 408576698