Commit f23420ad authored by Nazih Almalki's avatar Nazih Almalki Committed by Chromium LUCI CQ

make sure the ID is 32bit long

Change-Id: I16c2ff2d6aea8a8b2195b6e4c77cd4c143821658

Bug: https://crbug.com/956695
Change-Id: I16c2ff2d6aea8a8b2195b6e4c77cd4c143821658
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2611308
Auto-Submit: Nazih Almalki <nalmalki@google.com>
Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org>
Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#840680}
parent e652b5dd
...@@ -86,8 +86,7 @@ constexpr base::TimeDelta kAllowedDeltaFromFuture = ...@@ -86,8 +86,7 @@ constexpr base::TimeDelta kAllowedDeltaFromFuture =
// difficult to associate the trace-events with the particular displays. // difficult to associate the trace-events with the particular displays.
int64_t GetStartingTraceId() { int64_t GetStartingTraceId() {
static int64_t client = 0; static int64_t client = 0;
// https://crbug.com/956695 return ((++client & 0xffffffff) << 16);
return ((++client & 0xffff) << 16);
} }
gfx::PresentationFeedback SanitizePresentationFeedback( gfx::PresentationFeedback SanitizePresentationFeedback(
......
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