summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Loader/FrameLoader.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-08 21:35:31 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-08 21:35:31 +0200
commit883dc9260d8e2b26d862a685fe14e2acba4a4ed2 (patch)
treecaa7bc997c23f3bcdedfdfc9cd30a312690cacdb /Libraries/LibWeb/Loader/FrameLoader.cpp
parente04d68a03a32319904aff947dcff717ff5115e7d (diff)
downloadserenity-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/FrameLoader.cpp')
-rw-r--r--Libraries/LibWeb/Loader/FrameLoader.cpp3
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);
});
}