summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutBlock.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/LayoutBlock.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/LayoutBlock.h')
-rw-r--r--Libraries/LibWeb/Layout/LayoutBlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutBlock.h b/Libraries/LibWeb/Layout/LayoutBlock.h
index 68f69008a0..5b31fbf585 100644
--- a/Libraries/LibWeb/Layout/LayoutBlock.h
+++ b/Libraries/LibWeb/Layout/LayoutBlock.h
@@ -33,7 +33,7 @@ namespace Web {
class LayoutBlock : public LayoutBox {
public:
- LayoutBlock(DOM::Document&, const DOM::Node*, NonnullRefPtr<CSS::StyleProperties>);
+ LayoutBlock(DOM::Document&, DOM::Node*, NonnullRefPtr<CSS::StyleProperties>);
virtual ~LayoutBlock() override;
virtual const char* class_name() const override { return "LayoutBlock"; }