mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
LibWeb: Unbreak favicon notifications after Page refactoring
Favicon updates now get plumbed from FrameLoader to the PageClient.
This commit is contained in:
parent
e04d68a03a
commit
883dc9260d
5 changed files with 9 additions and 4 deletions
|
@ -145,6 +145,12 @@ void PageView::page_did_invalidate(const Gfx::Rect&)
|
|||
update();
|
||||
}
|
||||
|
||||
void PageView::page_did_change_favicon(const Gfx::Bitmap& bitmap)
|
||||
{
|
||||
if (on_favicon_change)
|
||||
on_favicon_change(bitmap);
|
||||
}
|
||||
|
||||
void PageView::layout_and_sync_size()
|
||||
{
|
||||
if (!document())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue