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/LayoutListItem.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/LayoutListItem.h')
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutListItem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutListItem.h b/Libraries/LibWeb/Layout/LayoutListItem.h index d4e425b811..bb5cff174e 100644 --- a/Libraries/LibWeb/Layout/LayoutListItem.h +++ b/Libraries/LibWeb/Layout/LayoutListItem.h @@ -35,7 +35,7 @@ class LayoutListItemMarker; class LayoutListItem final : public LayoutBlock { public: - LayoutListItem(DOM::Document&, const DOM::Element&, NonnullRefPtr<CSS::StyleProperties>); + LayoutListItem(DOM::Document&, DOM::Element&, NonnullRefPtr<CSS::StyleProperties>); virtual ~LayoutListItem() override; virtual void layout(LayoutMode = LayoutMode::Default) override; |