LibWeb: Move "visible in viewport" state tracking to ImageLoader

This should technically apply to any LayoutImage, so let's just move
it to ImageLoader.
This commit is contained in:
Andreas Kling 2020-06-14 19:32:23 +02:00
commit 73c9f7ebf4
Notes: sideshowbarker 2024-07-19 05:38:48 +09:00
7 changed files with 12 additions and 13 deletions

View file

@ -51,8 +51,6 @@ public:
const Gfx::Bitmap* bitmap() const;
const Gfx::ImageDecoder* image_decoder() const;
void set_visible_in_viewport(Badge<LayoutDocument>, bool);
private:
void animate();