Add InsertAt to WTF::Vector
The WTF::Vector datatype has not had a way to insert with an iterator, which is the preferred way to iterate through all elements. This new method takes an iterator and saves you the trouble of thinking and making silly iterator-math errors. Bug: 981522 Change-Id: I4850606e4072668406e55b97ee65208aaf35d33d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1690961 Auto-Submit: Edvard Thörnros <edvardt@opera.com> Commit-Queue: Edvard Thörnros <edvardt@opera.com> Reviewed-by:Jeremy Roman <jbroman@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#676364}
Showing
Please register or sign in to comment