1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 00:27:35 +00:00

LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^)

Thanks @nico for teaching me about this!
This commit is contained in:
Andreas Kling 2020-07-21 16:23:08 +02:00
parent 4065182811
commit 685e006e27
15 changed files with 22 additions and 46 deletions

View file

@ -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&);