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

Unified Diff: lib/observe/observable.dart

Issue 49223002: fix webui for sdk 0.8.7 (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: 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 | « lib/component_build.dart ('k') | lib/observe/set.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/observe/observable.dart
diff --git a/lib/observe/observable.dart b/lib/observe/observable.dart
index 63263df3706ff6547de61a9e67e707c4f4012eb1..d763e19febe324f309ca4c9a70ebcae3f934944d 100644
--- a/lib/observe/observable.dart
+++ b/lib/observe/observable.dart
@@ -14,12 +14,13 @@
*/
library web_ui.observe.observable;
+import 'dart:async';
import 'dart:collection' hide LinkedList;
import 'list.dart';
import 'map.dart';
import 'reference.dart';
import 'set.dart';
-import 'package:web_ui/src/utils_observe.dart' show setImmediate, hash3, hash4;
+import 'package:web_ui/src/utils_observe.dart' show hash3, hash4;
import 'package:web_ui/src/linked_list.dart';
/**
@@ -344,7 +345,7 @@ void notifyChange(Observable self, int type, key,
if (_changedObjects == null) {
_changedObjects = [];
- setImmediate(deliverChangesSync);
+ runAsync(deliverChangesSync);
}
if (self.$_changes == null) {
self.$_changes = [];
« no previous file with comments | « lib/component_build.dart ('k') | lib/observe/set.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698