Give 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). Review URL: https://codereview.chromium.org/1134573002 Cr-Commit-Position: refs/heads/master@{#28321}
Showing
Please
register
or
sign in
to comment