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

Unified Diff: net/spdy/core/hpack/hpack_huffman_decoder.cc

Issue 2954883002: Add dvlog_always_on to enable DVLOG without DEBUG and DCHECK option
Patch Set: Created 3 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 | « build/config/dvlog_always_on.gni ('k') | ppapi/cpp/logging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/core/hpack/hpack_huffman_decoder.cc
diff --git a/net/spdy/core/hpack/hpack_huffman_decoder.cc b/net/spdy/core/hpack/hpack_huffman_decoder.cc
index 85135795dfb16054db7ca9bb431e3dd637daf569..4b5bee0732b593ea2b2180db158b53e57bf692d4 100644
--- a/net/spdy/core/hpack/hpack_huffman_decoder.cc
+++ b/net/spdy/core/hpack/hpack_huffman_decoder.cc
@@ -158,7 +158,7 @@ const uint8_t kCanonicalToSymbol[] = {
};
// clang-format on
-#if DCHECK_IS_ON()
+#if DCHECK_IS_ON() || DVLOG_IS_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 // DCHECK_IS_ON()
+#endif // DCHECK_IS_ON() || DVLOG_IS_ON()
} // namespace
« no previous file with comments | « build/config/dvlog_always_on.gni ('k') | ppapi/cpp/logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698