diff options
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutCanvas.cpp')
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutCanvas.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutCanvas.cpp b/Libraries/LibWeb/Layout/LayoutCanvas.cpp index cca04e6ac0..e78b17c456 100644 --- a/Libraries/LibWeb/Layout/LayoutCanvas.cpp +++ b/Libraries/LibWeb/Layout/LayoutCanvas.cpp @@ -40,13 +40,12 @@ LayoutCanvas::~LayoutCanvas() { } -void LayoutCanvas::layout(LayoutMode layout_mode) +void LayoutCanvas::prepare_for_replaced_layout() { set_has_intrinsic_width(true); set_has_intrinsic_height(true); set_intrinsic_width(node().width()); set_intrinsic_height(node().height()); - LayoutReplaced::layout(layout_mode); } void LayoutCanvas::paint(PaintContext& context, PaintPhase phase) |