LibWeb: Avoid dynamic_cast in DOM::Document::is_decoded_svg()

This commit is contained in:
Andreas Kling 2025-04-18 10:37:08 +02:00 committed by Andreas Kling
commit bbef0e8375
Notes: github-actions[bot] 2025-04-18 12:46:52 +00:00
3 changed files with 5 additions and 1 deletions

View file

@ -92,6 +92,8 @@ private:
{
}
virtual bool is_svg_page_client() const override { return true; }
virtual void visit_edges(Visitor&) override;
};