diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-28 19:48:57 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-28 19:48:57 +0200 |
commit | fffc5896d869ac73e5e579d66ea5e001fccbed22 (patch) | |
tree | 1fcf0010a7d19724ac621e467be0294f234e8510 /Libraries/LibWeb/Layout/LayoutTableRow.h | |
parent | a4eadeb80d5d8fac6460ef6efa8aa7168690d557 (diff) | |
download | serenity-fffc5896d869ac73e5e579d66ea5e001fccbed22.zip |
LibWeb: Make layout tree have non-const pointers to the DOM
Const pointers into the DOM was a nice idea, but in practice, there are
too many situations where the layout tree wants to some non-const thing
to the DOM.
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutTableRow.h')
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutTableRow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutTableRow.h b/Libraries/LibWeb/Layout/LayoutTableRow.h index d289cd6e6d..41dbe6c734 100644 --- a/Libraries/LibWeb/Layout/LayoutTableRow.h +++ b/Libraries/LibWeb/Layout/LayoutTableRow.h @@ -34,7 +34,7 @@ class LayoutTableCell; class LayoutTableRow final : public LayoutBox { public: - LayoutTableRow(DOM::Document&, const DOM::Element&, NonnullRefPtr<CSS::StyleProperties>); + LayoutTableRow(DOM::Document&, DOM::Element&, NonnullRefPtr<CSS::StyleProperties>); virtual ~LayoutTableRow() override; void layout_row(const Vector<float>& column_widths); |