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

Unified Diff: samples/swarm/test/swarm_ui_lib/layout/grid_layout_demo.dart

Issue 27441002: Removing setImmediate and hiding WindowTimers interface (take 2) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: The fix Created 7 years, 2 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 | « samples/swarm/swarm_ui_lib/view/view.dart ('k') | samples/swipe/web/swipe.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/swarm/test/swarm_ui_lib/layout/grid_layout_demo.dart
diff --git a/samples/swarm/test/swarm_ui_lib/layout/grid_layout_demo.dart b/samples/swarm/test/swarm_ui_lib/layout/grid_layout_demo.dart
index 5585210b8ab5166311a7fd429217329da8d0587f..a53f78eb9e60adc93eba7cb4cee74883a5b8581e 100644
--- a/samples/swarm/test/swarm_ui_lib/layout/grid_layout_demo.dart
+++ b/samples/swarm/test/swarm_ui_lib/layout/grid_layout_demo.dart
@@ -110,7 +110,7 @@ void printMetrics(String example) {
sb.write(" verifyExample('$example', {\n");
final children = node.children;
- window.setImmediate(() {
+ scheduleMicrotask(() {
for (int i = 0; i < children.length; i++) {
_appendMetrics(sb, children[i], ' ');
}
« no previous file with comments | « samples/swarm/swarm_ui_lib/view/view.dart ('k') | samples/swipe/web/swipe.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698