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

Unified Diff: test/performance/perf.dart

Issue 14295009: Fix widget.dart to work with the latest web_ui library. Specifically, query selectors need to use "… (Closed) Base URL: https://github.com/kevmoo/widget.dart.git@master
Patch Set: ptal Created 7 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 | « test/effects/swapper_tests.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/performance/perf.dart
diff --git a/test/performance/perf.dart b/test/performance/perf.dart
index eae7206edcb971a84b16eecaa1751a49e87e548a..81db7e0368e2e46bde3415f5dc52458c8dfc231f 100644
--- a/test/performance/perf.dart
+++ b/test/performance/perf.dart
@@ -67,7 +67,7 @@ Future<bool> showItem(Element item, {ShowHideEffect effect, int duration, Effect
final oldActiveChild = _activeItem;
if(oldActiveChild == item) {
- return new Future<bool>.immediate(true);
+ return new Future<bool>.value(true);
}
[oldActiveChild, item].forEach((e) => e.classes.remove(_dirClassPrev));
« no previous file with comments | « test/effects/swapper_tests.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698