Explicitly disable UKM reporting for MQ evaluation.
This is in preparation for avoiding excessive UKM reporting for viewport size media queries in [1]. The skip_ukm_reporting_ will be set to true when we detect if any media queries have changed, e.g. on window resize. The new result will be detected later in RuleSet::AddRulesFromSheet for stylesheets and MediaQueryList::UpdateMatches() for matchMedia() when the evaluation actually changed. [1] https://chromium-review.googlesource.com/c/chromium/src/+/2449913 Bug: 973801 Change-Id: Ic8db810c8be2f223e08113db040d5515c42e6592 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2479372Reviewed-by:Maksim Orlovich <morlovich@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#818030}
Showing
Please register or sign in to comment