1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 01:51:03 +09:00

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
Notes: sideshowbarker 2024-07-17 06:28:38 +09:00
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;