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

Unified Diff: runtime/bin/chunked_stream.dart

Issue 8836005: Fix running tests with --checked (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/chunked_stream.dart
diff --git a/runtime/bin/chunked_stream.dart b/runtime/bin/chunked_stream.dart
index 52adbb69b517cfcd7d424c67cde123200d5466cb..26602b75db75e532757af5225cd111cc43fe4625 100644
--- a/runtime/bin/chunked_stream.dart
+++ b/runtime/bin/chunked_stream.dart
@@ -65,7 +65,7 @@ class _ChunkedInputStream implements ChunkedInputStream {
void _closeHandler() {
_inputClosed = true;
- if (_bufferList.length == 0 && _clientCloseHandler) {
+ if (_bufferList.length == 0 && _clientCloseHandler !== null) {
_clientCloseHandler();
_closed = true;
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698