mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:27:45 +00:00
LibWeb: Convert CSS Dump, Selector, & SelectorEngine to east const
This commit is contained in:
parent
cd55b817cf
commit
dadcb46344
6 changed files with 57 additions and 57 deletions
|
@ -75,7 +75,7 @@ public:
|
|||
int step_size = 0;
|
||||
int offset = 0;
|
||||
|
||||
static NthChildPattern parse(const StringView& args);
|
||||
static NthChildPattern parse(StringView const& args);
|
||||
};
|
||||
|
||||
// FIXME: We don't need this field on every single SimpleSelector, but it's also annoying to malloc it somewhere.
|
||||
|
@ -103,7 +103,7 @@ public:
|
|||
explicit Selector(Vector<ComplexSelector>&&);
|
||||
~Selector();
|
||||
|
||||
const Vector<ComplexSelector>& complex_selectors() const { return m_complex_selectors; }
|
||||
Vector<ComplexSelector> const& complex_selectors() const { return m_complex_selectors; }
|
||||
|
||||
u32 specificity() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue