summaryrefslogtreecommitdiff
path: root/Userland/Services
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-11-21 15:22:26 -0500
committerLinus Groh <mail@linusgroh.de>2022-11-24 00:10:56 +0000
commitc917a59abe6338ef72be4fe1e13ecda83e6e0064 (patch)
tree85ec56150f00862e42608d38ccbd711487aab670 /Userland/Services
parent1f08cb7020dd6f916852c2d40bd63a016875a798 (diff)
downloadserenity-c917a59abe6338ef72be4fe1e13ecda83e6e0064.zip
LibWeb+WebContent: Virtualize PageClient methods needed for all clients
Diffstat (limited to 'Userland/Services')
-rw-r--r--Userland/Services/WebContent/PageHost.h6
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&);