mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:27:35 +00:00
LibWeb: Make Paintable visit its cached containing block pointer
This was *probably* already safe, but there's no harm in making sure the cached pointer gets marked during GC.
This commit is contained in:
parent
6b4062ab61
commit
811b8a25c2
2 changed files with 3 additions and 1 deletions
|
@ -141,7 +141,7 @@ protected:
|
|||
|
||||
private:
|
||||
JS::NonnullGCPtr<Layout::Node> m_layout_node;
|
||||
Optional<Layout::BlockContainer*> mutable m_containing_block;
|
||||
Optional<JS::GCPtr<Layout::BlockContainer>> mutable m_containing_block;
|
||||
};
|
||||
|
||||
inline DOM::Node* HitTestResult::dom_node()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue