summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/Selector.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@gmail.com>2021-07-12 14:13:29 +0100
committerAndreas Kling <kling@serenityos.org>2021-07-14 13:31:00 +0200
commitdadcb4634430d6e963e53dc8465261fad87470ee (patch)
tree22c0da2af39386edc8d44d7b5b754ee0dce1ceed /Userland/Libraries/LibWeb/CSS/Selector.h
parentcd55b817cfa776f002d21c2acdd26f2412e94fa0 (diff)
downloadserenity-dadcb4634430d6e963e53dc8465261fad87470ee.zip
LibWeb: Convert CSS Dump, Selector, & SelectorEngine to east const
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;