[cc/metrics] Fix trace-event for reporters that don't produce a frame.
If a reporter is replaced by a new reporter, but the frame had not produced a frame, then use the timestamp of the 'did not produce' notification as the termination-time to end the trace-event, rather than the time of the replacement. BUG=none Change-Id: I91ad6b9a1b0c31afe5309f89e7f8aaf43121e8eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2146517 Commit-Queue: Behdad Bakhshinategh <behdadb@chromium.org> Reviewed-by:Behdad Bakhshinategh <behdadb@chromium.org> Auto-Submit: Sadrul Chowdhury <sadrul@chromium.org> Cr-Commit-Position: refs/heads/master@{#758867}
Showing
Please register or sign in to comment