mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-14 21:42:19 +00:00
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.
This commit is contained in:
parent
a4eadeb80d
commit
fffc5896d8
Notes:
sideshowbarker
2024-07-19 04:29:34 +09:00
Author: https://github.com/awesomekling
Commit: fffc5896d8
33 changed files with 38 additions and 43 deletions
|
@ -34,7 +34,7 @@ class LayoutBlock;
|
|||
|
||||
class LayoutInline : public LayoutNodeWithStyleAndBoxModelMetrics {
|
||||
public:
|
||||
LayoutInline(DOM::Document&, const DOM::Element&, NonnullRefPtr<CSS::StyleProperties>);
|
||||
LayoutInline(DOM::Document&, DOM::Element&, NonnullRefPtr<CSS::StyleProperties>);
|
||||
virtual ~LayoutInline() override;
|
||||
virtual const char* class_name() const override { return "LayoutInline"; }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue