Index: Source/core/layout/LayoutTheme.h |
diff --git a/Source/core/layout/LayoutTheme.h b/Source/core/layout/LayoutTheme.h |
index 61b01dc15c48a5737b08d3770102509f220da262..d35ec438662ad116943b44654e65d322c954d34c 100644 |
--- a/Source/core/layout/LayoutTheme.h |
+++ b/Source/core/layout/LayoutTheme.h |
@@ -44,6 +44,7 @@ class RenderMeter; |
class RenderProgress; |
+// FIXME: A lot of the functions taking a RenderStyle could be take a const object. |
class LayoutTheme : public RefCounted<LayoutTheme> { |
protected: |
LayoutTheme(); |
@@ -142,7 +143,7 @@ public: |
void systemFont(CSSValueID systemFontID, FontDescription&); |
virtual Color systemColor(CSSValueID) const; |
- virtual int minimumMenuListSize(RenderStyle*) const { return 0; } |
+ virtual int minimumMenuListSize(const RenderStyle*) const { return 0; } |
virtual void adjustSliderThumbSize(RenderStyle*, Element*) const; |