diff options
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutCanvas.h')
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutCanvas.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutCanvas.h b/Libraries/LibWeb/Layout/LayoutCanvas.h index b42f0f463b..09a4d634ba 100644 --- a/Libraries/LibWeb/Layout/LayoutCanvas.h +++ b/Libraries/LibWeb/Layout/LayoutCanvas.h @@ -36,7 +36,7 @@ public: LayoutCanvas(DOM::Document&, HTML::HTMLCanvasElement&, NonnullRefPtr<CSS::StyleProperties>); virtual ~LayoutCanvas() override; - virtual void layout(LayoutMode = LayoutMode::Default) override; + virtual void prepare_for_replaced_layout() override; virtual void paint(PaintContext&, PaintPhase) override; const HTML::HTMLCanvasElement& node() const { return static_cast<const HTML::HTMLCanvasElement&>(LayoutReplaced::node()); } |