Index: utils/tests/string_encoding/benchmark_runner.dart |
diff --git a/utils/tests/string_encoding/benchmark_runner.dart b/utils/tests/string_encoding/benchmark_runner.dart |
index 7af2ead095d1324a741b3bc8636dc968a09f2460..3f8bf39933998bcdbf4543794d2e5b0069fa57e7 100644 |
--- a/utils/tests/string_encoding/benchmark_runner.dart |
+++ b/utils/tests/string_encoding/benchmark_runner.dart |
@@ -420,7 +420,7 @@ class CPSBenchmarkRunner extends Runner { |
} |
static void _addToEventQueue(Function action) { |
- new Timer(0, _(Timer t) => action()); |
+ Timer.run(action); |
} |
} |