[FCP++] Refactor Image Paint Detector
This CL refactors the codes of Image Paint Detecor. This will make it easier to support background image for the metric. Specifically, this CL will do the following things: 1. Move GetImageUrl() into an anonymous function. 2. Simplify the logic of IsJustLoaded(). Take out the IsLoad() part from it and move it into an anonymous function. Background image support will be done by extending these two functions. Bug: 869924 Change-Id: Idfe4794612e1d5daa71afb03f8191700ce3d65bb Reviewed-on: https://chromium-review.googlesource.com/c/1333990Reviewed-by:Steve Kobes <skobes@chromium.org> Commit-Queue: Liquan (Max) Gǔ <maxlg@chromium.org> Cr-Commit-Position: refs/heads/master@{#607682}
Showing
Please register or sign in to comment