summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/Node.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-11-12 13:53:20 +0000
committerAndreas Kling <kling@serenityos.org>2021-11-17 22:20:01 +0100
commit3d127472ba7cd53eff327663c470c5d027ea6e20 (patch)
tree5c5cc1fecf0bf56ac0173eae227f50a9367be554 /Userland/Libraries/LibWeb/Layout/Node.h
parenta21403650916f414e70d2fb3a6a5e5fdc79799ed (diff)
downloadserenity-3d127472ba7cd53eff327663c470c5d027ea6e20.zip
LibWeb: Remove background_image from NodeWithStyle
We now entirely use the background-layers to check images.
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/Node.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/Node.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/Node.h b/Userland/Libraries/LibWeb/Layout/Node.h
index 1ff7d430b9..9b31685b3b 100644
--- a/Userland/Libraries/LibWeb/Layout/Node.h
+++ b/Userland/Libraries/LibWeb/Layout/Node.h
@@ -205,7 +205,6 @@ public:
const Gfx::Font& font() const { return *m_font; }
float line_height() const { return m_line_height; }
float font_size() const { return m_font_size; }
- const CSS::ImageStyleValue* background_image() const { return m_background_image; }
Vector<CSS::BackgroundLayerData> const& background_layers() const { return computed_values().background_layers(); }
const CSS::ImageStyleValue* list_style_image() const { return m_list_style_image; }
@@ -223,7 +222,6 @@ private:
RefPtr<Gfx::Font> m_font;
float m_line_height { 0 };
float m_font_size { 0 };
- RefPtr<CSS::ImageStyleValue> m_background_image;
RefPtr<CSS::ImageStyleValue> m_list_style_image;
bool m_has_definite_height { false };