Commit b45476bb authored by Shik Chen's avatar Shik Chen Committed by Commit Bot

CCA: Use Date.now() for consistency

Bug: None
Test: CQ
Change-Id: I66602b8876bc43b0ec288d1bc4e8d7420ba3242d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2554251
Auto-Submit: Shik Chen <shik@chromium.org>
Commit-Queue: Inker Kuo <inker@chromium.org>
Reviewed-by: default avatarInker Kuo <inker@chromium.org>
Cr-Commit-Position: refs/heads/master@{#830096}
parent 04a4921d
......@@ -38,7 +38,7 @@ async function initGA(id, clientId, shouldAddFakeHistory, setClientIdCallback) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function(...args) {
(i[r].q = i[r].q || []).push(args);
}, i[r].l = new Date().getTime();
}, i[r].l = Date.now();
const a = s.createElement(o);
const m = s.getElementsByTagName(o)[0];
a['async'] = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment