mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
LibWeb: Fix some GCVerifier warnings
This commit is contained in:
committed by
Andreas Kling
parent
8b8ada292e
commit
8450041b52
@@ -714,7 +714,7 @@ bool fast_matches(CSS::Selector const& selector, Optional<CSS::CSSStyleSheet con
|
||||
// NOTE: If we fail after following a child combinator, we may need to backtrack
|
||||
// to the last matched descendant. We store the state here.
|
||||
struct {
|
||||
DOM::Element const* element = nullptr;
|
||||
JS::GCPtr<DOM::Element const> element;
|
||||
ssize_t compound_selector_index = 0;
|
||||
} backtrack_state;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user