Descriptionbase: Fix an inefficiency in base::Pickle that caused extraneous allocations.
The Resize() method is supposed to be passed the size of the payload, not
including the header. In the copy constructor, it was being passed the size of
the payload plus the header.
BUG=
R=mark@chromium.org
Committed: https://chromium.googlesource.com/chromium/src/+/f9ca8f5f0656036f8062be85a38b0f243bb0df34
Patch Set 1 #
Total comments: 2
Patch Set 2 : Comments from mark. #
Messages
Total messages: 8 (3 generated)
|