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

LibWeb: Fix a bunch of trivial clang-tidy warnings in StyleComputer

- Replace "auto" with "auto const" where appropriate.
- Remove an unused struct.
- Make sort_matching_rules() a file-local static function.
- Remove some unnecessary includes.
This commit is contained in:
Andreas Kling 2022-02-09 20:11:16 +01:00
parent 31695e1695
commit b248661f11
Notes: sideshowbarker 2024-07-17 19:02:46 +09:00
2 changed files with 35 additions and 46 deletions

View file

@ -65,7 +65,6 @@ public:
};
Vector<MatchingRule> collect_matching_rules(DOM::Element const&, CascadeOrigin = CascadeOrigin::Any) const;
void sort_matching_rules(Vector<MatchingRule>&) const;
struct CustomPropertyResolutionTuple {
Optional<StyleProperty> style {};
u32 specificity { 0 };