Return a Vector instead of a pointer to one from PictureSnapshot::Replay.
For consistency and efficiency. While here, move the StringBuilder::ReserveCapacity call at the use before the actual usage of the StringBuilder (presently it has no effect). Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I197140cc0b77d12bd236e908e844eacf39fa6697 Reviewed-on: https://chromium-review.googlesource.com/1106605Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#568828}
Showing
Please register or sign in to comment