diff options
author | Barigbue Nbira <barigbuenbira@gmail.com> | 2025-04-18 21:01:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-18 20:01:26 +0000 |
commit | add8c51f4728fbafe56781670f9ae4b1a754e094 (patch) | |
tree | 92741a6d5a241b815b3df4acd2dfe3028de44b22 /components/layout_2020/layout_box_base.rs | |
parent | 46247a76210daef793fec29b001cf4c05281f2e4 (diff) | |
download | servo-add8c51f4728fbafe56781670f9ae4b1a754e094.tar.gz servo-add8c51f4728fbafe56781670f9ae4b1a754e094.zip |
Prevent multiple notifications for image dimensions (#36600)
Added a simple check to only perform metadata extraction and listener
notification when we haven't already processed the metadata for an image
Testing: Existing tests should cover if we break decoding image metadata
complete.
Fixes: #36502
---------
Signed-off-by: Barigbue <barigbuenbira@gmail.com>
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components/layout_2020/layout_box_base.rs')
0 files changed, 0 insertions, 0 deletions