DescriptionGive ComputeCapacityForSerialization a minimum capacity
This avoids DCHECK failures when passing 0 as the at_least_space_for
argument to HashTableBase::New (allowing converting code from non-serialized
to serialized without changing callsites).
Committed: https://crrev.com/090c78219f57a96913af05b78414fa2aeea3a016
Cr-Commit-Position: refs/heads/master@{#28321}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|