Index: Source/core/rendering/RenderTheme.h |
diff --git a/Source/core/rendering/RenderTheme.h b/Source/core/rendering/RenderTheme.h |
index ddb311b8ea799278805ccbdc64b2d69ea498b6f1..18dd31d4e97948d1d53df01b9de69d1da8bfd722 100644 |
--- a/Source/core/rendering/RenderTheme.h |
+++ b/Source/core/rendering/RenderTheme.h |
@@ -29,7 +29,6 @@ |
#include "platform/ThemeTypes.h" |
#endif |
#include "core/rendering/RenderObject.h" |
-#include "core/rendering/style/CachedUAStyle.h" |
#include "platform/scroll/ScrollTypes.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefCounted.h" |
@@ -62,7 +61,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*, bool uaStyleHasWebkitAppearance, bool valuesUnchangedForWebkitAppearance); |
// 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 |
@@ -94,7 +93,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; |
+ bool isControlStyled(const RenderStyle*, bool valuesUnchangedForWebkitAppearance) const; |
// A general method asking if any control tinting is supported at all. |
virtual bool supportsControlTints() const { return false; } |