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/LayoutBlock.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/LayoutBlock.h')
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutBlock.h | 2 |
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"; } |