gin: Add jitter to Date timestamp

This patch adds 1ms pseudorandom jitter to the millisecond time exposed
to the Date object.

TBR=skyostil@chromium.org

(cherry picked from commit 2613496a226cffa857b104bb79cf0e8ee834825a)

Authors: Ross McIlroy <rmcilroy@chromium.org>, Sami Kyostila <skyostil@chromium.org>
Bug: 798964
Change-Id: Iea42a9bda72a934bbf2f8a9a8b3f3d4d74f519f0
Reviewed-on: https://chromium-review.googlesource.com/850113
Commit-Queue: Sami Kyöstilä <skyostil@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#527021}
Reviewed-on: https://chromium-review.googlesource.com/853507
Reviewed-by: Sami Kyöstilä <skyostil@chromium.org>
Cr-Commit-Position: refs/branch-heads/3282@{#440}
Cr-Branched-From: 5fdc0fab22ce7efd32532ee989b223fa12f8171e-refs/heads/master@{#520840}
1 file changed