Index: net/spdy/spdy_session_unittest.cc |
diff --git a/net/spdy/spdy_session_unittest.cc b/net/spdy/spdy_session_unittest.cc |
index 2a0eab0dcfbf29e21299759d38e7a0ecbe5e7547..498275033c97c570522ab884c7130c689c3b7683 100644 |
--- a/net/spdy/spdy_session_unittest.cc |
+++ b/net/spdy/spdy_session_unittest.cc |
@@ -1875,8 +1875,13 @@ TEST_P(SpdySessionTest, SynCompressionHistograms) { |
// Regression test of compression performance under the request fixture. |
switch (spdy_util_.spdy_version()) { |
case SPDY3: |
+#if defined(USE_SYSTEM_ZLIB) |
histogram_tester.ExpectBucketCount( |
"Net.SpdySynStreamCompressionPercentage", 30, 1); |
+#else |
+ histogram_tester.ExpectBucketCount( |
+ "Net.SpdySynStreamCompressionPercentage", 31, 1); |
+#endif |
break; |
case HTTP2: |
histogram_tester.ExpectBucketCount( |