diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-11-21 15:22:26 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-11-24 00:10:56 +0000 |
commit | c917a59abe6338ef72be4fe1e13ecda83e6e0064 (patch) | |
tree | 85ec56150f00862e42608d38ccbd711487aab670 /Userland/Services | |
parent | 1f08cb7020dd6f916852c2d40bd63a016875a798 (diff) | |
download | serenity-c917a59abe6338ef72be4fe1e13ecda83e6e0064.zip |
LibWeb+WebContent: Virtualize PageClient methods needed for all clients
Diffstat (limited to 'Userland/Services')
-rw-r--r-- | Userland/Services/WebContent/PageHost.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Services/WebContent/PageHost.h b/Userland/Services/WebContent/PageHost.h index ed70439f00..197b55e6b9 100644 --- a/Userland/Services/WebContent/PageHost.h +++ b/Userland/Services/WebContent/PageHost.h @@ -23,10 +23,10 @@ public: static NonnullOwnPtr<PageHost> create(ConnectionFromClient& client) { return adopt_own(*new PageHost(client)); } virtual ~PageHost(); - Web::Page& page() { return *m_page; } - Web::Page const& page() const { return *m_page; } + virtual Web::Page& page() override { return *m_page; } + virtual Web::Page const& page() const override { return *m_page; } - void paint(Gfx::IntRect const& content_rect, Gfx::Bitmap&); + virtual void paint(Gfx::IntRect const& content_rect, Gfx::Bitmap&) override; void set_palette_impl(Gfx::PaletteImpl const&); void set_viewport_rect(Gfx::IntRect const&); |