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/Layout/LayoutDocument.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/Layout/LayoutDocument.h')
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutDocument.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutDocument.h b/Libraries/LibWeb/Layout/LayoutDocument.h index cf81ca2c7e..a5fd15e765 100644 --- a/Libraries/LibWeb/Layout/LayoutDocument.h +++ b/Libraries/LibWeb/Layout/LayoutDocument.h @@ -33,10 +33,10 @@ namespace Web { class LayoutDocument final : public LayoutBlock { public: - explicit LayoutDocument(Document&, NonnullRefPtr<StyleProperties>); + explicit LayoutDocument(DOM::Document&, NonnullRefPtr<StyleProperties>); virtual ~LayoutDocument() override; - const Document& node() const { return static_cast<const Document&>(*LayoutNode::node()); } + const DOM::Document& node() const { return static_cast<const DOM::Document&>(*LayoutNode::node()); } virtual const char* class_name() const override { return "LayoutDocument"; } virtual void layout(LayoutMode = LayoutMode::Default) override; |