DescriptionSerializer: fix false negative in hashmap lookups.
If we use HashMap::Lookup with insert=true, the returned entry may have
NULL as value. This could either mean that the value is 0, or that the
entry has just been inserted. This ambiguity can cause false negatives
in PartialCacheIndexMap::LookupOrInsert.
Also fix a TODO.
R=vogelheim@chromium.org
Committed: https://crrev.com/dbecf20d65460a2856563b46f6f0267805cae64f
Cr-Commit-Position: refs/heads/master@{#26994}
Patch Set 1 #
Messages
Total messages: 7 (1 generated)
|