[FCP++] Image: ensure (time==0 && size>0) represent "still loading or not painted"
Now that we already have the image time and size in PaintTimingDetector, we should deprecate largest_image_paint_ which stores duplicate information. Correct the order of DidChangePerformanceTiming() and NotifyLargestImage(). NotifyLargestImage() is about changing the data that PerformanceTiming should fetch. This is why DidChangePerformanceTiming() should come after NotifyLargestImage(). Bug:949974 Change-Id: I2b0801ce56cf327a8187273ac537e71d0e352533 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1596622 Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org> Reviewed-by:Steve Kobes <skobes@chromium.org> Cr-Commit-Position: refs/heads/master@{#658288}
Showing
Please register or sign in to comment