summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Parser
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Parser')
-rw-r--r--Libraries/LibWeb/Parser/CSSParser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibWeb/Parser/CSSParser.h b/Libraries/LibWeb/Parser/CSSParser.h
index 25f478c16f..dc38bb7c74 100644
--- a/Libraries/LibWeb/Parser/CSSParser.h
+++ b/Libraries/LibWeb/Parser/CSSParser.h
@@ -29,9 +29,7 @@
#include <AK/NonnullRefPtr.h>
#include <LibWeb/CSS/StyleSheet.h>
-namespace Web {
-
-namespace CSS {
+namespace Web::CSS {
class ParsingContext {
public:
ParsingContext();
@@ -44,6 +42,8 @@ private:
};
}
+namespace Web {
+
RefPtr<StyleSheet> parse_css(const CSS::ParsingContext&, const StringView&);
RefPtr<StyleDeclaration> parse_css_declaration(const CSS::ParsingContext&, const StringView&);
RefPtr<StyleValue> parse_css_value(const CSS::ParsingContext&, const StringView&);