mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:27:43 +00:00
LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^)
Thanks @nico for teaching me about this!
This commit is contained in:
parent
4065182811
commit
685e006e27
15 changed files with 22 additions and 46 deletions
|
@ -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&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue