commit | 0f1cedecb0e3586a32ed44d5064f82ff8f8eac5f | [log] [tgz] |
---|---|---|
author | jbroman <jbroman@chromium.org> | Tue Mar 21 18:58:10 2017 |
committer | Commit bot <commit-bot@chromium.org> | Tue Mar 21 18:58:10 2017 |
tree | 6568434724b24f759e363828b18a4172a32d34e7 | |
parent | 863711a1f0b27b5aa30ed18af6932eae19ccf5fc [diff] |
Remove a level of indirection in HTMLCollection. It's not necessary to give HeapVector a separate allocation (itself, it's only a pointer and two integers). Fixing this requires us to make the code const-correct. While here, it's easy to replace repeated push_back with appendVector, which is more efficient. Review-Url: https://codereview.chromium.org/2765653002 Cr-Commit-Position: refs/heads/master@{#458496}