summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/qt/RenderThemeQt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/qt/RenderThemeQt.cpp')
-rw-r--r--Source/WebCore/platform/qt/RenderThemeQt.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/Source/WebCore/platform/qt/RenderThemeQt.cpp b/Source/WebCore/platform/qt/RenderThemeQt.cpp
index 442ae9454..2cd35700a 100644
--- a/Source/WebCore/platform/qt/RenderThemeQt.cpp
+++ b/Source/WebCore/platform/qt/RenderThemeQt.cpp
@@ -78,10 +78,6 @@ static const float defaultControlFontPixelSize = 13;
static const float defaultCancelButtonSize = 9;
static const float minCancelButtonSize = 5;
static const float maxCancelButtonSize = 21;
-static const float defaultSearchFieldResultsDecorationSize = 13;
-static const float minSearchFieldResultsDecorationSize = 9;
-static const float maxSearchFieldResultsDecorationSize = 30;
-static const float defaultSearchFieldResultsButtonWidth = 18;
static QtThemeFactoryFunction themeFactory;
static ScrollbarTheme* scrollbarTheme;
@@ -217,11 +213,11 @@ QRectF RenderThemeQt::inflateButtonRect(const QRectF& originalRect) const
return originalRect;
}
-void RenderThemeQt::inflateControlRect(QStyleFacade::ButtonType, QRect&) const
+void RenderThemeQt::computeControlRect(QStyleFacade::ButtonType, QRect&) const
{
}
-void RenderThemeQt::inflateControlRect(QStyleFacade::ButtonType, FloatRect&) const
+void RenderThemeQt::computeControlRect(QStyleFacade::ButtonType, FloatRect&) const
{
}
@@ -229,10 +225,10 @@ void RenderThemeQt::adjustRepaintRect(const RenderObject& o, FloatRect& rect)
{
switch (o.style().appearance()) {
case CheckboxPart:
- inflateControlRect(QStyleFacade::CheckBox, rect);
+ computeControlRect(QStyleFacade::CheckBox, rect);
break;
case RadioPart:
- inflateControlRect(QStyleFacade::RadioButton, rect);
+ computeControlRect(QStyleFacade::RadioButton, rect);
break;
case PushButtonPart:
case ButtonPart: {