| Index: net/base/gzip_filter_unittest.cc
|
| ===================================================================
|
| --- net/base/gzip_filter_unittest.cc (revision 74874)
|
| +++ net/base/gzip_filter_unittest.cc (working copy)
|
| @@ -6,12 +6,6 @@
|
| #include <iostream>
|
|
|
| #if defined(USE_SYSTEM_ZLIB)
|
| -// The code below uses the MOZ_Z_ forms of these functions in order that things
|
| -// should work on Windows. In order to make this code cross platform, we map
|
| -// back to the normal functions here in the case that we are using the system
|
| -// zlib.
|
| -#define MOZ_Z_deflate deflate
|
| -#define MOZ_Z_deflateEnd deflateEnd
|
| #include <zlib.h>
|
| #else
|
| #include "third_party/zlib/zlib.h"
|
| @@ -152,10 +146,10 @@
|
| }
|
|
|
| // Do deflate
|
| - code = MOZ_Z_deflate(&zlib_stream, Z_FINISH);
|
| + code = deflate(&zlib_stream, Z_FINISH);
|
| *dest_len = *dest_len - zlib_stream.avail_out;
|
|
|
| - MOZ_Z_deflateEnd(&zlib_stream);
|
| + deflateEnd(&zlib_stream);
|
| return code;
|
| }
|
|
|
|
|