Don't call RecordTimingMetrics in UKM observer's OnHidden.
Instead wait until OnComplete or app background to report these metrics, to capture LCP reports that arrive after tab hide due to buffering (go/plm-flushing). The UMA observer already does this. Bug: 1069023 Change-Id: Idfc061eb0b9e1694443b3468da927211e47110c4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575002 Commit-Queue: Steve Kobes <skobes@chromium.org> Reviewed-by:Nicolás Peña Moreno <npm@chromium.org> Cr-Commit-Position: refs/heads/master@{#836176}
Showing
This diff is collapsed.
Please register or sign in to comment