diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-26 19:37:56 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-26 20:05:15 +0200 |
commit | 11ff9d0f17bc0cd49a61b7c4cc66036584d6d30b (patch) | |
tree | ec880ff36492c94b7854e84226bf64c3611bb20a /Libraries/LibWeb/DOM/Comment.h | |
parent | 96d13f75cf2659cba8392db5469fdef1c831ceec (diff) | |
download | serenity-11ff9d0f17bc0cd49a61b7c4cc66036584d6d30b.zip |
LibWeb: Move DOM classes into the Web::DOM namespace
LibWeb keeps growing and the Web namespace is filling up fast.
Let's put DOM stuff into Web::DOM, just like we already started doing
with SVG stuff in Web::SVG.
Diffstat (limited to 'Libraries/LibWeb/DOM/Comment.h')
-rw-r--r-- | Libraries/LibWeb/DOM/Comment.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibWeb/DOM/Comment.h b/Libraries/LibWeb/DOM/Comment.h index c05f788754..f0cdc7907a 100644 --- a/Libraries/LibWeb/DOM/Comment.h +++ b/Libraries/LibWeb/DOM/Comment.h @@ -29,7 +29,7 @@ #include <AK/FlyString.h> #include <LibWeb/DOM/CharacterData.h> -namespace Web { +namespace Web::DOM { class Comment final : public CharacterData { public: @@ -41,6 +41,6 @@ public: } -AK_BEGIN_TYPE_TRAITS(Web::Comment) -static bool is_type(const Web::Node& node) { return node.is_comment(); } +AK_BEGIN_TYPE_TRAITS(Web::DOM::Comment) +static bool is_type(const Web::DOM::Node& node) { return node.is_comment(); } AK_END_TYPE_TRAITS() |