LibWeb: Unbreak favicon notifications after Page refactoring

Favicon updates now get plumbed from FrameLoader to the PageClient.
This commit is contained in:
Andreas Kling 2020-06-08 21:35:31 +02:00
commit 883dc9260d
Notes: sideshowbarker 2024-07-19 05:44:39 +09:00
5 changed files with 9 additions and 4 deletions

View file

@ -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);
});
}