1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:17:36 +00:00

LibWeb: Rename frame_did_set_viewport_rect() => browsing_context_*()

Names are still catching up after the Frame => BrowsingContext rename.
This commit is contained in:
Andreas Kling 2021-09-08 11:12:22 +02:00
parent 9d9500989a
commit 3a7e26ef28
4 changed files with 7 additions and 6 deletions

View file

@ -108,7 +108,7 @@ bool ImageBox::renders_as_alt_text() const
return false;
}
void ImageBox::frame_did_set_viewport_rect(const Gfx::IntRect& viewport_rect)
void ImageBox::browsing_context_did_set_viewport_rect(Gfx::IntRect const& viewport_rect)
{
m_image_loader.set_visible_in_viewport(viewport_rect.to_type<float>().intersects(absolute_rect()));
}