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

Unified Diff: tools/dom/src/EventStreamProvider.dart

Issue 2885103005: Add dart:html and friends to patched_dart2js_sdk/platform.dill, also fix up (Closed)
Patch Set: v1 Created 3 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 | « sdk/lib/html/html_common/css_class_set.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/src/EventStreamProvider.dart
diff --git a/tools/dom/src/EventStreamProvider.dart b/tools/dom/src/EventStreamProvider.dart
index 3fd6be8e7c07b63b522b6475e60de4a21c290ae3..7989689d1bdfb2d6ebbdee0f312cc114fd61379d 100644
--- a/tools/dom/src/EventStreamProvider.dart
+++ b/tools/dom/src/EventStreamProvider.dart
@@ -298,9 +298,9 @@ class _EventStreamSubscription<T extends Event> extends StreamSubscription<T> {
}
}
- Future/*<E>*/ asFuture/*<E>*/([var/*=E*/ futureValue]) {
+ Future<E> asFuture<E>([E futureValue]) {
// We just need a future that will never succeed or fail.
- var completer = new Completer/*<E>*/();
+ var completer = new Completer<E>();
return completer.future;
}
}
« no previous file with comments | « sdk/lib/html/html_common/css_class_set.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698