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

Unified Diff: sdk/lib/io/http_impl.dart

Issue 46663003: Fix sdk/lib/io errors found by the analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More fixes. Created 7 years, 2 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: sdk/lib/io/http_impl.dart
diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart
index fcd9a0621d831186dc1cbb77d51b2dc3c6850d73..70a18a5d76a3a031de3b8c27537ec77a7a9c0a38 100644
--- a/sdk/lib/io/http_impl.dart
+++ b/sdk/lib/io/http_impl.dart
@@ -460,8 +460,8 @@ abstract class _HttpOutboundMessage<T> implements IOSink {
_dataSink.add(data);
}
- void addError(error) {
- _dataSink.addError(error);
+ void addError(error, [StackTrace stackTrace]) {
+ _dataSink.addError(error, stackTrace);
}
Future<T> addStream(Stream<List<int>> stream) {
@@ -2244,7 +2244,8 @@ class _DetachedSocket extends Stream<List<int>> implements Socket {
void add(List<int> bytes) => _socket.add(bytes);
- void addError(error) => _socket.addError(error);
+ void addError(error, [StackTrace stackTrace]) =>
+ _socket.addError(error, stackTrace);
Future<Socket> addStream(Stream<List<int>> stream) {
return _socket.addStream(stream);
« 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