| Index: net/spdy/hpack/hpack_huffman_decoder.cc
|
| diff --git a/net/spdy/hpack/hpack_huffman_decoder.cc b/net/spdy/hpack/hpack_huffman_decoder.cc
|
| index 3573744c052e6d5d9d2950ead09c271a178d5158..926223f8ad93633710da412626a13a93aae8396a 100644
|
| --- a/net/spdy/hpack/hpack_huffman_decoder.cc
|
| +++ b/net/spdy/hpack/hpack_huffman_decoder.cc
|
| @@ -158,7 +158,7 @@ const uint8_t kCanonicalToSymbol[] = {
|
| };
|
| // clang-format on
|
|
|
| -#ifndef NDEBUG
|
| +#if !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)
|
|
|
| // Only used in DLOG.
|
| bool IsEOSPrefix(HuffmanWord bits, HuffmanCodeLength bits_available) {
|
| @@ -171,7 +171,7 @@ bool IsEOSPrefix(HuffmanWord bits, HuffmanCodeLength bits_available) {
|
| return bits == expected;
|
| }
|
|
|
| -#endif // NDEBUG
|
| +#endif // NDEBUG && !defined(DCHECK_ALWAYS_ON)
|
|
|
| } // namespace
|
|
|
|
|