De-flake image-loading-subpixel-clip.html
If the image is in cache, then the onload handler could happen synchronously before the script had a time to add the handler. The fix is to set the src after the onload handler has been registered. Change-Id: I8586119c5b36f033f36a594cd021230cb8a2bb8e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2119634Reviewed-by:Stefan Zager <szager@chromium.org> Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#753318}
Showing
Please register or sign in to comment