diff options
Diffstat (limited to 'WebCore/rendering/style/StyleBackgroundData.h')
-rw-r--r-- | WebCore/rendering/style/StyleBackgroundData.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/WebCore/rendering/style/StyleBackgroundData.h b/WebCore/rendering/style/StyleBackgroundData.h index 8f2da36..48a700e 100644 --- a/WebCore/rendering/style/StyleBackgroundData.h +++ b/WebCore/rendering/style/StyleBackgroundData.h @@ -45,13 +45,19 @@ public: return !(*this == o); } - FillLayer m_background; - Color m_color; - OutlineValue m_outline; + const FillLayer& background() const { return m_background; } + const Color& color() const { return m_color; } + const OutlineValue& outline() const { return m_outline; } private: + friend class RenderStyle; + StyleBackgroundData(); - StyleBackgroundData(const StyleBackgroundData&); + StyleBackgroundData(const StyleBackgroundData&); + + FillLayer m_background; + Color m_color; + OutlineValue m_outline; }; } // namespace WebCore |