summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Clarke <leonclarke@google.com>2009-10-05 15:32:12 +0100
committerLeon Clarke <leonclarke@google.com>2009-10-05 15:32:12 +0100
commit4687a0014966efd7c5539ad54f47aa49ad828f16 (patch)
treed2e19485b4aaea0c702c959dc0bfc533d33d9e79
parent026fe6d5a004207846034c539bfd5924629adefa (diff)
downloadexternal_webkit-4687a0014966efd7c5539ad54f47aa49ad828f16.zip
external_webkit-4687a0014966efd7c5539ad54f47aa49ad828f16.tar.gz
external_webkit-4687a0014966efd7c5539ad54f47aa49ad828f16.tar.bz2
Re-enable using the right foreground color now we use the right background
color.
-rw-r--r--WebCore/platform/android/RenderThemeAndroid.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/WebCore/platform/android/RenderThemeAndroid.cpp b/WebCore/platform/android/RenderThemeAndroid.cpp
index 0f419f5..aae8c48 100644
--- a/WebCore/platform/android/RenderThemeAndroid.cpp
+++ b/WebCore/platform/android/RenderThemeAndroid.cpp
@@ -259,12 +259,6 @@ static void adjustMenuListStyleCommon(RenderStyle* style, Element* e)
{
// Added to make room for our arrow.
style->setPaddingRight(Length(RenderSkinCombo::extraWidth(), Fixed));
- // Code copied from RenderThemeMac.mm
- // Makes sure that the text shows up on our treatment
- bool isEnabled = true;
- if (e)
- isEnabled = e->isEnabledFormControl();
- style->setColor(isEnabled ? Color::black : Color::darkGray);
}
void RenderThemeAndroid::adjustMenuListStyle(CSSStyleSelector*, RenderStyle* style, Element* e) const