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

Unified Diff: runtime/bin/socket_patch.dart

Issue 12408004: Fix checked mode error on socket IOSink (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 | « no previous file | sdk/lib/io/io_sink.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket_patch.dart
diff --git a/runtime/bin/socket_patch.dart b/runtime/bin/socket_patch.dart
index 95e2017b6530626e3e5b49f4f7042f29ccf91509..e697822396c1cfa1b350ed3dc47e915533ecaa98 100644
--- a/runtime/bin/socket_patch.dart
+++ b/runtime/bin/socket_patch.dart
@@ -764,7 +764,10 @@ class _Socket extends Stream<List<int>> implements Socket {
}
Encoding get encoding => _sink.encoding;
- void set encoding(Encoding value) => _sink.encoding = value;
+
+ void set encoding(Encoding value) {
+ _sink.encoding = value;
+ }
void write(Object obj) => _sink.write(obj);
« no previous file with comments | « no previous file | sdk/lib/io/io_sink.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698