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

Unified Diff: tool/input_sdk/lib/async/broadcast_stream_controller.dart

Issue 1347153005: additional SDK fixes. This gets all of them, once we upgrade to new analyzer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 3 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/runtime/dart/collection.js ('k') | tool/input_sdk/lib/async/stream.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/lib/async/broadcast_stream_controller.dart
diff --git a/tool/input_sdk/lib/async/broadcast_stream_controller.dart b/tool/input_sdk/lib/async/broadcast_stream_controller.dart
index e71d3a3deeaca3b83b2a75cf8ebedee030e08762..9a9df84010030f5be6b94856d280db3257ceec08 100644
--- a/tool/input_sdk/lib/async/broadcast_stream_controller.dart
+++ b/tool/input_sdk/lib/async/broadcast_stream_controller.dart
@@ -201,7 +201,8 @@ abstract class _BroadcastStreamController<T>
return subscription;
}
- Future _recordCancel(StreamSubscription<T> subscription) {
+ Future _recordCancel(StreamSubscription<T> sub) {
+ var subscription = sub as _BroadcastSubscription<T>;
// If already removed by the stream, don't remove it again.
if (identical(subscription._next, subscription)) return null;
assert(!identical(subscription._next, subscription));
« no previous file with comments | « lib/runtime/dart/collection.js ('k') | tool/input_sdk/lib/async/stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698