commit | 9be8812c9c14fed31bf6e0b9242d0fca30977661 | [log] [tgz] |
---|---|---|
author | Rob Buis <rbuis@igalia.com> | Tue Jan 15 09:00:20 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 15 09:00:20 2019 |
tree | f92708cfa8573c2ec4f24bbaeb6d5d3cb9e8baa5 | |
parent | 36dab48068086f08eacf7f283293d6ce49493440 [diff] |
Refactor lazy load small image checks Refactor lazy load small image checks into HTMLImageElement since the same checks are done in ImageLoader and the preload scanner. Finally this way there is one single place for the kMinDimensionToLazyLoad threshold. Bug: 846170 Change-Id: I6043c71ec944658f7ecccf00ef1262df6a84e5a2 Reviewed-on: https://chromium-review.googlesource.com/c/1406244 Commit-Queue: Rob Buis <rbuis@igalia.com> Reviewed-by: Scott Little <sclittle@chromium.org> Cr-Commit-Position: refs/heads/master@{#622788}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .