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

Unified Diff: net/quic/crypto/strike_register.cc

Issue 946003003: win 2015: followup to https://codereview.chromium.org/941933002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/strike_register.cc
diff --git a/net/quic/crypto/strike_register.cc b/net/quic/crypto/strike_register.cc
index 702db7e9b46a22f467d56a23d7fbfcc23ea00c58..bc2dd69dc0b776c87a3e163495ee88038761f24c 100644
--- a/net/quic/crypto/strike_register.cc
+++ b/net/quic/crypto/strike_register.cc
@@ -499,10 +499,10 @@ void StrikeRegister::ValidateTree(
j != bits.end(); j++) {
unsigned byte = j->first / 8;
DCHECK_LE(byte, 0xffu);
- bit = j->first % 8;
+ unsigned new_bit = j->first % 8;
static const uint8 kMasks[8] =
{0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01};
- CHECK_EQ((bytes[byte] & kMasks[bit]) != 0, j->second);
+ CHECK_EQ((bytes[byte] & kMasks[new_bit]) != 0, j->second);
}
} else {
uint32 inter = i->child(child);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698