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

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

Issue 1700153002: Wrapperless dart:html and friends (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: 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/js.js
diff --git a/lib/runtime/dart/js.js b/lib/runtime/dart/js.js
index 6deccb0101680e66b9490bdb4d0cce567a137862..e2112208475c0bc22d30c716185b170a68fa15ae 100644
--- a/lib/runtime/dart/js.js
+++ b/lib/runtime/dart/js.js
@@ -48,8 +48,8 @@ dart_library.library('dart/js', null, /* Imports */[
if (dart.is(o, core.Map)) {
let convertedMap = {};
_convertedObjects.set(o, convertedMap);
- for (let key of o.keys) {
- convertedMap[key] = _convert(o.get(key));
+ for (let key of o[dartx.keys]) {
+ convertedMap[key] = _convert(o[dartx.get](key));
}
return convertedMap;
} else if (dart.is(o, core.Iterable)) {

Powered by Google App Engine
This is Rietveld 408576698