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

Unified Diff: test/generated_sdk/lib/_internal/compiler/js_lib/isolate_helper.dart

Issue 1142553002: remove #177 workaround (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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/_isolate_helper.js ('k') | tool/input_sdk/private/isolate_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/generated_sdk/lib/_internal/compiler/js_lib/isolate_helper.dart
diff --git a/test/generated_sdk/lib/_internal/compiler/js_lib/isolate_helper.dart b/test/generated_sdk/lib/_internal/compiler/js_lib/isolate_helper.dart
index cc5072692b804ead6fd5cb3daed267bcf9158332..ceac6601b26adca1fbd2b08e7181e0245f63783e 100644
--- a/test/generated_sdk/lib/_internal/compiler/js_lib/isolate_helper.dart
+++ b/test/generated_sdk/lib/_internal/compiler/js_lib/isolate_helper.dart
@@ -652,12 +652,10 @@ class _EventLoop {
void _runHelper() {
if (globalWindow != null) {
// Run each iteration from the browser's top event loop.
- // TODO(vsm): Revert to original pattern.
- // See: https://github.com/dart-lang/dev_compiler/issues/177
- Function next = () {
+ next() {
if (!runIteration()) return;
Timer.run(next);
- };
+ }
next();
} else {
// Run synchronously until no more iterations are available.
« no previous file with comments | « lib/runtime/dart/_isolate_helper.js ('k') | tool/input_sdk/private/isolate_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698