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

Unified Diff: net/base/sdch_filter_unittest.cc

Issue 6525004: Enable sdch_filter_unittest to run on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed MOZ_Z prefixes Created 9 years, 10 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 | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/sdch_filter_unittest.cc
diff --git a/net/base/sdch_filter_unittest.cc b/net/base/sdch_filter_unittest.cc
index 45ed6f07ea67c575cacf018d72cb109081830012..508365ac31c37dc599b6b117cdd638dace5af328 100644
--- a/net/base/sdch_filter_unittest.cc
+++ b/net/base/sdch_filter_unittest.cc
@@ -827,10 +827,10 @@ static std::string gzip_compress(const std::string &input) {
zlib_stream.avail_out -= sizeof(kGZipHeader);
// Do deflate
- code = MOZ_Z_deflate(&zlib_stream, Z_FINISH);
+ code = deflate(&zlib_stream, Z_FINISH);
gzip_compressed_length -= zlib_stream.avail_out;
std::string compressed(gzip_compressed.get(), gzip_compressed_length);
- MOZ_Z_deflateEnd(&zlib_stream);
+ deflateEnd(&zlib_stream);
return compressed;
}
« no previous file with comments | « no previous file | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698