mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +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:
parent
9d9500989a
commit
3a7e26ef28
Notes:
sideshowbarker
2024-07-18 04:27:19 +09:00
Author: https://github.com/awesomekling
Commit: 3a7e26ef28
4 changed files with 7 additions and 6 deletions
|
@ -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()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue