| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
Thanks a lot, will get this one submitted.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
5 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
[soft navs] Move soft LCP into PageLoadMetricsUpdateDispatcher
This makes soft lcp consistent with soft inp and soft cls, to make the
ownership of the objects / data more consistent.
Previously (-> means owns):
page load tracker
-> page load metrics update dispatcher
-> soft inp info
-> soft cls info
-> lcp handler
-> soft lcp info
Now:
page load tracker
-> page load metrics update dispatcher
-> soft inp info
-> soft cls info
-> soft lcp info
-> lcp handler
This is a pure refactoring; the objective is to prepare for revamping
the logic in void PageLoadMetricsUpdateDispatcher::UpdateMetrics, which
updates soft inp / cls, then informs the page load tracker of a new soft
navigation (and along with it potentially a new soft lcp) so that the
tracker informs the observers and then resets things for the next round.
With the current ownership structure of the data, it would be very
difficult to change this logic - so here, I'd like to simply move the
soft LCP part into the page load metrics update dispatcher. This means
later, this dispatcher can more directly update the soft lcp, and the
notification for the new soft nav no longer needs to carry the soft lcp.
Bug: 485887821
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |