Fix incorrect index in finding interpolate index
The crash in GetInterpolatedEventForPredictedEvent is due to the initial value of 'idx' is set to -1, but it's an unsigned type. This CL makes it initialize to 0. Bug: 1030386 Change-Id: I44796c1813374f4c192ee3c125c5f957fbe57061 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1948048Reviewed-by:Navid Zolghadr <nzolghadr@chromium.org> Commit-Queue: Ella Ge <eirage@chromium.org> Cr-Commit-Position: refs/heads/master@{#721381}
Showing
Please register or sign in to comment