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

Unified Diff: runtime/bin/socket_impl.dart

Issue 8318009: Update the streams interfaces (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Minor fixes Created 9 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
Index: runtime/bin/socket_impl.dart
diff --git a/runtime/bin/socket_impl.dart b/runtime/bin/socket_impl.dart
index 585a4dfd06ad78a03ac484c58b7327a0f1908ccc..d578d04bb1e85f83aa74f54f1262a69874cdb8bb 100644
--- a/runtime/bin/socket_impl.dart
+++ b/runtime/bin/socket_impl.dart
@@ -277,14 +277,14 @@ class _Socket extends _SocketBase implements Socket {
}
InputStream get inputStream() {
- if (_inputStream === null) {
+ if (_inputStream == null) {
_inputStream = new SocketInputStream(this);
}
return _inputStream;
}
OutputStream get outputStream() {
- if (_outputStream === null) {
+ if (_outputStream == null) {
_outputStream = new SocketOutputStream(this);
}
return _outputStream;

Powered by Google App Engine
This is Rietveld 408576698