Description[layoutng] fix incorrect vector sizing
We need to set the capacity, not the size, to children_.size() because
otherwise the following append() calls will not do the right thing.
R=eae@chromium.org, ikilpatrick@chromium.org, glebl@chromium.org
BUG=635619
Committed: https://chromium.googlesource.com/chromium/src/+/7cd22eaca633bf31c2c3ce11ebe7faefb85dd551
Patch Set 1 #
Messages
Total messages: 12 (6 generated)
|