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

Unified Diff: third_party/pkg/barback-0.13.0/lib/src/serialize.dart

Issue 291843011: Run pub tests against older versions of barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 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
Index: third_party/pkg/barback-0.13.0/lib/src/serialize.dart
diff --git a/pkg/barback/lib/src/serialize.dart b/third_party/pkg/barback-0.13.0/lib/src/serialize.dart
similarity index 96%
copy from pkg/barback/lib/src/serialize.dart
copy to third_party/pkg/barback-0.13.0/lib/src/serialize.dart
index 145846396c8da330bc4c3a3701cd48a03e2edddd..7114039e44d5cc417baf8dfc62a97400619447c3 100644
--- a/pkg/barback/lib/src/serialize.dart
+++ b/third_party/pkg/barback-0.13.0/lib/src/serialize.dart
@@ -9,7 +9,7 @@ import 'dart:isolate';
import 'package:stack_trace/stack_trace.dart';
-import 'asset/asset_id.dart';
+import 'asset_id.dart';
import 'utils.dart';
/// Converts [id] into a serializable map.
@@ -45,8 +45,10 @@ Stream deserializeStream(SendPort sendPort) {
return callbackStream(() {
var receivePort = new ReceivePort();
sendPort.send(receivePort.sendPort);
+ // TODO(nweiz): use a const constructor for StreamTransformer when issue
+ // 14971 is fixed.
return receivePort.transform(
- const StreamTransformer(_deserializeTransformer));
+ new StreamTransformer(_deserializeTransformer));
});
}
« no previous file with comments | « third_party/pkg/barback-0.13.0/lib/src/pool.dart ('k') | third_party/pkg/barback-0.13.0/lib/src/stream_pool.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698