summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/Selector.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Selector.h')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Selector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Selector.h b/Userland/Libraries/LibWeb/CSS/Selector.h
index 2e724307f9..7bed123dd0 100644
--- a/Userland/Libraries/LibWeb/CSS/Selector.h
+++ b/Userland/Libraries/LibWeb/CSS/Selector.h
@@ -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;