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

Unified Diff: sdk/lib/_internal/pub/test/serve/utils.dart

Issue 581283003: Get rid of Chain.track in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « sdk/lib/_internal/pub/lib/src/validator/utf8_readme.dart ('k') | sdk/lib/_internal/pub/test/test_pub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/test/serve/utils.dart
diff --git a/sdk/lib/_internal/pub/test/serve/utils.dart b/sdk/lib/_internal/pub/test/serve/utils.dart
index f3a6fa87765343d984af9c32e3ca58dbce8700a2..9516cd2ddb41fccb7d170dc42eae4b6a25938741 100644
--- a/sdk/lib/_internal/pub/test/serve/utils.dart
+++ b/sdk/lib/_internal/pub/test/serve/utils.dart
@@ -456,8 +456,8 @@ Future<Map> _jsonRpcRequest(String method, [Map params]) {
if (params != null) message["params"] = params;
_webSocket.add(JSON.encode(message));
- return Chain.track(_webSocketBroadcastStream
- .firstWhere((response) => response["id"] == id)).then((value) {
+ return _webSocketBroadcastStream
+ .firstWhere((response) => response["id"] == id).then((value) {
currentSchedule.addDebugInfo(
"Web Socket request $method with params $params\n"
"Result: $value");
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/validator/utf8_readme.dart ('k') | sdk/lib/_internal/pub/test/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698