commit | 7cd22eaca633bf31c2c3ce11ebe7faefb85dd551 | [log] [tgz] |
---|---|---|
author | Christian Biesinger <cbiesinger@chromium.org> | Wed Aug 31 19:20:51 2016 |
committer | Christian Biesinger <cbiesinger@chromium.org> | Wed Aug 31 19:23:55 2016 |
tree | 2679f67a8780152e0bdfc54608a1f33742cb099b | |
parent | 04925ca1db4950d5e245a75458955f66cd535c6b [diff] |
[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 Review URL: https://codereview.chromium.org/2295233002 . Cr-Commit-Position: refs/heads/master@{#415721}