summaryrefslogtreecommitdiffstats
path: root/webkit/port/platform/chromium/RenderThemeGtk.cpp
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-25 18:44:00 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-25 18:44:00 +0000
commit25fa55b566b0b4df991a186c7ced00f1b35041da (patch)
tree957b8af55eeacd8265f9275a050101638a02a5c2 /webkit/port/platform/chromium/RenderThemeGtk.cpp
parent897d25b4d9dcd526ae97fb6fe990ed287ff214eb (diff)
downloadchromium_src-25fa55b566b0b4df991a186c7ced00f1b35041da.zip
chromium_src-25fa55b566b0b4df991a186c7ced00f1b35041da.tar.gz
chromium_src-25fa55b566b0b4df991a186c7ced00f1b35041da.tar.bz2
Use the default handling for input styles.
Right now we're trying to match the GTK theme, using code with a bunch of FIXMEs because it's not correct. Let's use the default code path which will style us the same as Windows. Review URL: http://codereview.chromium.org/12435 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5980 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/platform/chromium/RenderThemeGtk.cpp')
-rw-r--r--webkit/port/platform/chromium/RenderThemeGtk.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/webkit/port/platform/chromium/RenderThemeGtk.cpp b/webkit/port/platform/chromium/RenderThemeGtk.cpp
index 8be7f0f..dc09d4d 100644
--- a/webkit/port/platform/chromium/RenderThemeGtk.cpp
+++ b/webkit/port/platform/chromium/RenderThemeGtk.cpp
@@ -366,15 +366,6 @@ bool RenderThemeGtk::paintButton(RenderObject* o, const RenderObject::PaintInfo&
return paintMozWidget(this, MOZ_GTK_BUTTON, o, i, rect);
}
-void RenderThemeGtk::adjustTextFieldStyle(CSSStyleSelector* selector, RenderStyle* style, Element* e) const
-{
- style->resetBorder();
- style->resetPadding();
- style->setHeight(Length(Auto));
- style->setWhiteSpace(PRE);
- adjustMozStyle(style, MOZ_GTK_ENTRY);
-}
-
bool RenderThemeGtk::paintTextField(RenderObject* o, const RenderObject::PaintInfo& i, const IntRect& rect)
{
return paintMozWidget(this, MOZ_GTK_ENTRY, o, i, rect);