[FCP++, LastImage] Redefine "last" as last load from last added
Last Image Paint takes the last image based on the order of first paint index. In the initial implementation, the first paint index was the time the image is attached to DOM tree. As an alternative, the first paint index can also be the time the image is loaded. By observation, we find that it's more natural for users to regard the last image as the last one being loaded other than the last one being attached to the tree, as the latter may not be visible to users yet. Therefore, this CL is to change the definition of "last" in Last Image Paint to the last image being loaded. Bug: 869924 Change-Id: Ib5d0addf10c32668b38297c2efe5e73b7e1e7a33 Reviewed-on: https://chromium-review.googlesource.com/c/1316360 Commit-Queue: Liquan (Max) Gǔ <maxlg@chromium.org> Reviewed-by:Steve Kobes <skobes@chromium.org> Cr-Commit-Position: refs/heads/master@{#605497}
Showing
Please register or sign in to comment