mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-06 16:09:30 +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
|
@ -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