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

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

Issue 1088943006: implement tear offs (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | lib/runtime/dart/_isolate_helper.js » ('j') | lib/runtime/dart/convert.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_internal.js
diff --git a/lib/runtime/dart/_internal.js b/lib/runtime/dart/_internal.js
index 45d414850f0b458c500bf8d4cb0de40578cc1094..9e495e55c7baaf08db81b11baec4584694314a5c 100644
--- a/lib/runtime/dart/_internal.js
+++ b/lib/runtime/dart/_internal.js
@@ -1082,7 +1082,7 @@ var _internal;
}
static sortList(list, compare) {
if (compare == null)
- compare = core.Comparable.compare;
+ compare = dart.bind(core.Comparable, 'compare');
Sort.sort(list, compare);
}
static shuffleList(list, random) {
« no previous file with comments | « no previous file | lib/runtime/dart/_isolate_helper.js » ('j') | lib/runtime/dart/convert.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698