summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutBox.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-26 20:01:35 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-26 20:05:15 +0200
commit1f008c95b6d80adaaf3cf54cf89019c54b70e17f (patch)
treebbb1a7dc68d5cd6fa83bf56e98b94607a7fe766f /Libraries/LibWeb/Layout/LayoutBox.cpp
parent3e389f4cdcffbe68aaa0571af532d6668be32a07 (diff)
downloadserenity-1f008c95b6d80adaaf3cf54cf89019c54b70e17f.zip
LibWeb: Move CSS classes into the Web::CSS namespace
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutBox.cpp')
-rw-r--r--Libraries/LibWeb/Layout/LayoutBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutBox.cpp b/Libraries/LibWeb/Layout/LayoutBox.cpp
index 128f0e1fca..4a5aa6ef4f 100644
--- a/Libraries/LibWeb/Layout/LayoutBox.cpp
+++ b/Libraries/LibWeb/Layout/LayoutBox.cpp
@@ -186,7 +186,7 @@ void LayoutBox::paint(PaintContext& context, PaintPhase phase)
auto bgimage = specified_style().property(CSS::PropertyID::BackgroundImage);
if (bgimage.has_value() && bgimage.value()->is_image()) {
- auto& image_value = static_cast<const ImageStyleValue&>(*bgimage.value());
+ auto& image_value = static_cast<const CSS::ImageStyleValue&>(*bgimage.value());
if (image_value.bitmap()) {
context.painter().draw_tiled_bitmap(enclosing_int_rect(padded_rect), *image_value.bitmap());
}