diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-08 21:35:31 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-08 21:35:31 +0200 |
commit | 883dc9260d8e2b26d862a685fe14e2acba4a4ed2 (patch) | |
tree | caa7bc997c23f3bcdedfdfc9cd30a312690cacdb /Libraries/LibWeb/Loader | |
parent | e04d68a03a32319904aff947dcff717ff5115e7d (diff) | |
download | serenity-883dc9260d8e2b26d862a685fe14e2acba4a4ed2.zip |
LibWeb: Unbreak favicon notifications after Page refactoring
Favicon updates now get plumbed from FrameLoader to the PageClient.
Diffstat (limited to 'Libraries/LibWeb/Loader')
-rw-r--r-- | Libraries/LibWeb/Loader/FrameLoader.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Loader/FrameLoader.cpp b/Libraries/LibWeb/Loader/FrameLoader.cpp index 54691e7eeb..f625a03e57 100644 --- a/Libraries/LibWeb/Loader/FrameLoader.cpp +++ b/Libraries/LibWeb/Loader/FrameLoader.cpp @@ -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); }); } |