mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 12:49:08 +00:00
LibWeb: Unbreak favicon notifications after Page refactoring
Favicon updates now get plumbed from FrameLoader to the PageClient.
This commit is contained in:
@@ -172,8 +172,7 @@ bool FrameLoader::load(const URL& url)
|
||||
return;
|
||||
}
|
||||
dbg() << "Decoded favicon, " << bitmap->size();
|
||||
if (frame().on_favicon_change)
|
||||
frame().on_favicon_change(*bitmap);
|
||||
frame().page().client().page_did_change_favicon(*bitmap);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user