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

Unified Diff: runtime/bin/socket_patch.dart

Issue 14150002: Remove StreamSink(replaced by EventSink) and make IOSink extend EventSink. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: runtime/bin/socket_patch.dart
diff --git a/runtime/bin/socket_patch.dart b/runtime/bin/socket_patch.dart
index 2a805bb7365508bd2c12bd25f874d5795f406865..2e7acd9b8af6117d0efe5d3867daddfaa2ae081c 100644
--- a/runtime/bin/socket_patch.dart
+++ b/runtime/bin/socket_patch.dart
@@ -815,7 +815,7 @@ class _Socket extends Stream<List<int>> implements Socket {
void writeAll(Iterable objects, [sep = ""]) => _sink.writeAll(objects, sep);
- void writeBytes(List<int> bytes) => _sink.writeBytes(bytes);
+ void add(List<int> bytes) => _sink.add(bytes);
Future<Socket> consume(Stream<List<int>> stream) {
return _sink.consume(stream);
« no previous file with comments | « pkg/scheduled_test/lib/src/scheduled_server/safe_http_server.dart ('k') | samples/chat/chat_server_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698