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

Unified Diff: remoting/base/decompressor_zlib.cc

Issue 7253017: Revert 90625 (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Change NOTREACHED to DCHECK_EQ Created 9 years, 6 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 | « net/http/http_cache_transaction.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/decompressor_zlib.cc
diff --git a/remoting/base/decompressor_zlib.cc b/remoting/base/decompressor_zlib.cc
index 770abd5a3b1a15b00b93a0e022f94e39ab73172b..8a6401029d83de4c98e2e207c038a69670d78c17 100644
--- a/remoting/base/decompressor_zlib.cc
+++ b/remoting/base/decompressor_zlib.cc
@@ -59,7 +59,8 @@ void DecompressorZlib::InitStream() {
stream_->zfree = Z_NULL;
stream_->opaque = Z_NULL;
- inflateInit(stream_.get());
+ int ret = inflateInit(stream_.get());
+ DCHECK_EQ(ret, Z_OK);
}
} // namespace remoting
« no previous file with comments | « net/http/http_cache_transaction.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698