diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-26 20:01:35 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-26 20:05:15 +0200 |
commit | 1f008c95b6d80adaaf3cf54cf89019c54b70e17f (patch) | |
tree | bbb1a7dc68d5cd6fa83bf56e98b94607a7fe766f /Libraries/LibWeb/SVG | |
parent | 3e389f4cdcffbe68aaa0571af532d6668be32a07 (diff) | |
download | serenity-1f008c95b6d80adaaf3cf54cf89019c54b70e17f.zip |
LibWeb: Move CSS classes into the Web::CSS namespace
Diffstat (limited to 'Libraries/LibWeb/SVG')
-rw-r--r-- | Libraries/LibWeb/SVG/SVGSVGElement.cpp | 2 | ||||
-rw-r--r-- | Libraries/LibWeb/SVG/SVGSVGElement.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/SVG/SVGSVGElement.cpp b/Libraries/LibWeb/SVG/SVGSVGElement.cpp index c70f3afb73..0d6a1f97ac 100644 --- a/Libraries/LibWeb/SVG/SVGSVGElement.cpp +++ b/Libraries/LibWeb/SVG/SVGSVGElement.cpp @@ -43,7 +43,7 @@ SVGSVGElement::SVGSVGElement(DOM::Document& document, const FlyString& tag_name) { } -RefPtr<LayoutNode> SVGSVGElement::create_layout_node(const StyleProperties* parent_style) +RefPtr<LayoutNode> SVGSVGElement::create_layout_node(const CSS::StyleProperties* parent_style) { auto style = document().style_resolver().resolve_style(*this, parent_style); if (style->display() == CSS::Display::None) diff --git a/Libraries/LibWeb/SVG/SVGSVGElement.h b/Libraries/LibWeb/SVG/SVGSVGElement.h index 1540aa3757..f29b0028f0 100644 --- a/Libraries/LibWeb/SVG/SVGSVGElement.h +++ b/Libraries/LibWeb/SVG/SVGSVGElement.h @@ -35,7 +35,7 @@ class SVGSVGElement final : public SVGGraphicsElement { public: SVGSVGElement(DOM::Document&, const FlyString& tag_name); - virtual RefPtr<LayoutNode> create_layout_node(const StyleProperties* parent_style) override; + virtual RefPtr<LayoutNode> create_layout_node(const CSS::StyleProperties* parent_style) override; const RefPtr<Gfx::Bitmap> bitmap() const { return m_bitmap; } bool create_bitmap_as_top_level_svg_element(); |