summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2019-09-25 11:59:47 +0300
committerAndreas Kling <awesomekling@gmail.com>2019-09-28 18:29:42 +0200
commita42f4c078e3b81b033b4d53edd7ce15c6df41373 (patch)
treec722d23e73ebf63dde4e046290ae8e99468f8623
parent756bdb2a42b4af38ea23d2d66147e52c2d30dd7a (diff)
downloadserenity-a42f4c078e3b81b033b4d53edd7ce15c6df41373.zip
LibHTML: Get rid of ComputedStyle::offset()
This is redundant since we already have LayoutNode::rect().
-rw-r--r--Libraries/LibHTML/Layout/ComputedStyle.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Libraries/LibHTML/Layout/ComputedStyle.h b/Libraries/LibHTML/Layout/ComputedStyle.h
index 856118a790..c356900536 100644
--- a/Libraries/LibHTML/Layout/ComputedStyle.h
+++ b/Libraries/LibHTML/Layout/ComputedStyle.h
@@ -17,12 +17,10 @@ public:
Color text_color() const { return m_text_color; }
Color background_color() const { return m_background_color; }
- LengthBox& offset() { return m_offset; }
LengthBox& margin() { return m_margin; }
LengthBox& padding() { return m_padding; }
LengthBox& border() { return m_border; }
- const LengthBox& offset() const { return m_offset; }
const LengthBox& margin() const { return m_margin; }
const LengthBox& padding() const { return m_padding; }
const LengthBox& border() const { return m_border; }
@@ -36,7 +34,6 @@ private:
Color m_text_color;
Color m_background_color;
- LengthBox m_offset;
LengthBox m_margin;
LengthBox m_padding;
LengthBox m_border;