LibWeb: Fix some GCVerifier warnings

This commit is contained in:
Matthew Olsson
2024-04-05 13:47:48 -07:00
committed by Andreas Kling
parent 8b8ada292e
commit 8450041b52
23 changed files with 63 additions and 59 deletions

View File

@@ -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;