summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutListItem.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-28 19:48:57 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-28 19:48:57 +0200
commitfffc5896d869ac73e5e579d66ea5e001fccbed22 (patch)
tree1fcf0010a7d19724ac621e467be0294f234e8510 /Libraries/LibWeb/Layout/LayoutListItem.h
parenta4eadeb80d5d8fac6460ef6efa8aa7168690d557 (diff)
downloadserenity-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.h2
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;