Move timestamp calculation out of the loop
Move timestamp calculation out of the loop by checking for empty list first, then calculating the timestamp and changing the loop to a do-while loop. Change-Id: I4a07abe7b749c85854e75ffdf1d993b602344aae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2323371Reviewed-by:Timothy Dresser <tdresser@chromium.org> Commit-Queue: Rob Buis <rbuis@igalia.com> Cr-Commit-Position: refs/heads/master@{#792456}
Showing
Please register or sign in to comment