summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/Comment.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-26 19:37:56 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-26 20:05:15 +0200
commit11ff9d0f17bc0cd49a61b7c4cc66036584d6d30b (patch)
treeec880ff36492c94b7854e84226bf64c3611bb20a /Libraries/LibWeb/DOM/Comment.h
parent96d13f75cf2659cba8392db5469fdef1c831ceec (diff)
downloadserenity-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.h6
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()