mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 02:26:10 +00:00
LibWeb: Make LayoutState::UsedValues::m_node a const pointer
No mutations should ever be made to the layout node through this pointer (and none were).
This commit is contained in:
parent
761e9aeaf7
commit
2f5ce0fcb6
Notes:
github-actions[bot]
2025-02-11 23:40:53 +00:00
Author: https://github.com/awesomekling
Commit: 2f5ce0fcb6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3543
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ struct LayoutState {
|
|||
CSSPixels border_top_collapsed() const { return use_collapsing_borders_model() ? round(border_top / 2) : border_top; }
|
||||
CSSPixels border_bottom_collapsed() const { return use_collapsing_borders_model() ? round(border_bottom / 2) : border_bottom; }
|
||||
|
||||
GC::Ptr<Layout::NodeWithStyle> m_node { nullptr };
|
||||
GC::Ptr<Layout::NodeWithStyle const> m_node { nullptr };
|
||||
UsedValues const* m_containing_block_used_values { nullptr };
|
||||
|
||||
CSSPixels m_content_width { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue