Index: Source/core/rendering/RenderTheme.h |
diff --git a/Source/core/rendering/RenderTheme.h b/Source/core/rendering/RenderTheme.h |
index a3ec3f66fed625cdb9eda8407b8b0675a0cc0a37..eb8987632796675609c4cb2f21649ee781912e95 100644 |
--- a/Source/core/rendering/RenderTheme.h |
+++ b/Source/core/rendering/RenderTheme.h |
@@ -65,7 +65,7 @@ public: |
// metrics and defaults given the contents of the style. This includes sophisticated operations like |
// selection of control size based off the font, the disabling of appearance when certain other properties like |
// "border" are set, or if the appearance is not supported by the theme. |
- void adjustStyle(RenderStyle*, Element*, const CachedUAStyle&); |
+ void adjustStyle(RenderStyle*, Element*, const CachedUAStyle*); |
// This method is called to paint the widget as a background of the RenderObject. A widget's foreground, e.g., the |
// text of a button, is always rendered by the engine itself. The boolean return value indicates |
@@ -97,7 +97,7 @@ public: |
virtual bool controlSupportsTints(const RenderObject*) const { return false; } |
// Whether or not the control has been styled enough by the author to disable the native appearance. |
- virtual bool isControlStyled(const RenderStyle*, const CachedUAStyle&) const; |
+ virtual bool isControlStyled(const RenderStyle*, const CachedUAStyle*) const; |
// A general method asking if any control tinting is supported at all. |
virtual bool supportsControlTints() const { return false; } |