FIx theme borders on win32.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/rendering/RenderTheme.cpp b/WebCore/rendering/RenderTheme.cpp
index 81f33f3..647e828 100644
--- a/WebCore/rendering/RenderTheme.cpp
+++ b/WebCore/rendering/RenderTheme.cpp
@@ -94,7 +94,7 @@
return true; // We don't support the appearance, so let the normal background/border paint.
}
-bool RenderTheme::paintBorder(RenderObject* o, const RenderObject::PaintInfo& i, const IntRect& r)
+bool RenderTheme::paintBorderOnly(RenderObject* o, const RenderObject::PaintInfo& i, const IntRect& r)
{
if (i.p->paintingDisabled())
return false;
@@ -114,24 +114,6 @@
return false;
}
-bool RenderTheme::shouldPaintBorder(RenderObject* o)
-{
- // Call the appropriate paint method based off the appearance value.
- switch (o->style()->appearance()) {
- case TextFieldAppearance:
- return true;
- case CheckboxAppearance:
- case RadioAppearance:
- case PushButtonAppearance:
- case SquareButtonAppearance:
- case ButtonAppearance:
- return false;
- default:
- break;
- }
-
- return false; // We don't support the appearance, so let the normal background/border paint.
-}
short RenderTheme::baselinePosition(const RenderObject* o) const
{