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

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: A couple more tweaks 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
« no previous file with comments | « lib/runtime/dart/indexed_db.js ('k') | lib/runtime/dart/math.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/js.js
diff --git a/lib/runtime/dart/js.js b/lib/runtime/dart/js.js
index 5dd7385b585b5d89139320735f4c71c389e891ed..2461e10b851700281921ebfd92dc397b8d132fdc 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)) {
« no previous file with comments | « lib/runtime/dart/indexed_db.js ('k') | lib/runtime/dart/math.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698