mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 08:11:13 +00:00
LibWeb: Remove FLATTEN attribute from SelectorEngine::fast_matches
This causes compilation time with GCC to increase far too much.
This commit is contained in:
parent
1ae174e380
commit
6e2685f091
Notes:
sideshowbarker
2024-07-18 04:38:32 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/6e2685f091 Pull-request: https://github.com/SerenityOS/serenity/pull/23651 Reviewed-by: https://github.com/awesomekling ✅
|
@ -702,7 +702,7 @@ static bool fast_matches_compound_selector(CSS::Selector::CompoundSelector const
|
|||
return true;
|
||||
}
|
||||
|
||||
FLATTEN bool fast_matches(CSS::Selector const& selector, Optional<CSS::CSSStyleSheet const&> style_sheet_for_rule, DOM::Element const& element_to_match)
|
||||
bool fast_matches(CSS::Selector const& selector, Optional<CSS::CSSStyleSheet const&> style_sheet_for_rule, DOM::Element const& element_to_match)
|
||||
{
|
||||
DOM::Element const* current = &element_to_match;
|
||||
|
||||
|
|
Loading…
Reference in a new issue