summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/HTML/HTMLImageElement.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/HTML/HTMLImageElement.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/HTML/HTMLImageElement.h')
-rw-r--r--Libraries/LibWeb/HTML/HTMLImageElement.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/HTML/HTMLImageElement.h b/Libraries/LibWeb/HTML/HTMLImageElement.h
index 432df2fc89..2d991a5551 100644
--- a/Libraries/LibWeb/HTML/HTMLImageElement.h
+++ b/Libraries/LibWeb/HTML/HTMLImageElement.h
@@ -40,7 +40,7 @@ class HTMLImageElement final : public HTMLElement {
public:
using WrapperType = Bindings::HTMLImageElementWrapper;
- HTMLImageElement(Document&, const FlyString& local_name);
+ HTMLImageElement(DOM::Document&, const FlyString& local_name);
virtual ~HTMLImageElement() override;
virtual void parse_attribute(const FlyString& name, const String& value) override;
@@ -63,5 +63,5 @@ private:
}
AK_BEGIN_TYPE_TRAITS(Web::HTMLImageElement)
-static bool is_type(const Web::Node& node) { return node.is_element() && downcast<Web::Element>(node).local_name() == Web::HTML::TagNames::img; }
+static bool is_type(const Web::DOM::Node& node) { return node.is_element() && downcast<Web::DOM::Element>(node).local_name() == Web::HTML::TagNames::img; }
AK_END_TYPE_TRAITS()