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
commit 685e006e27
Notes: sideshowbarker 2024-07-19 04:41:57 +09:00
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&);