Revert "LibWeb: Never claim "rendering opportunity" for SVG-as-image documents"

This reverts commit 8aae50f4ee.
This commit is contained in:
Andreas Kling 2024-03-22 10:23:28 +01:00
commit df2cd33ccd
Notes: sideshowbarker 2024-07-17 05:41:34 +09:00

View file

@ -49,7 +49,7 @@ public:
virtual void request_file(FileRequest) override { } virtual void request_file(FileRequest) override { }
virtual void paint(DevicePixelRect const&, Gfx::Bitmap&, Web::PaintOptions = {}) override { } virtual void paint(DevicePixelRect const&, Gfx::Bitmap&, Web::PaintOptions = {}) override { }
virtual void schedule_repaint() override { } virtual void schedule_repaint() override { }
virtual bool is_ready_to_paint() const override { return false; } virtual bool is_ready_to_paint() const override { return true; }
private: private:
explicit SVGPageClient(Page& host_page) explicit SVGPageClient(Page& host_page)