summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2012-09-27 10:39:02 -0700
committerChris Craik <ccraik@google.com>2012-09-27 10:50:21 -0700
commit98f974e63bc216d6c12d4d319d25bbf8751184ff (patch)
tree6eb5b274bffc4cd316026ca5a942b59340bbb563
parent866f5baf3e53d34e588845f01a3c4754814ccfda (diff)
downloadexternal_webkit-98f974e63bc216d6c12d4d319d25bbf8751184ff.zip
external_webkit-98f974e63bc216d6c12d4d319d25bbf8751184ff.tar.gz
external_webkit-98f974e63bc216d6c12d4d319d25bbf8751184ff.tar.bz2
Force stroke style for radio drawing
bug:7188900 Change-Id: I9cfc020be463b0441a3d718d44cc6c948781d7cf
-rw-r--r--Source/WebCore/platform/android/RenderThemeAndroid.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/platform/android/RenderThemeAndroid.cpp b/Source/WebCore/platform/android/RenderThemeAndroid.cpp
index 2ff222a..cda4d51 100644
--- a/Source/WebCore/platform/android/RenderThemeAndroid.cpp
+++ b/Source/WebCore/platform/android/RenderThemeAndroid.cpp
@@ -489,6 +489,7 @@ bool RenderThemeAndroid::paintRadio(RenderObject* obj, const PaintInfo& info, co
borderRect.inflate(-3);
const float cx = borderRect.center().x();
const float cy = borderRect.center().y() - 1;
+ context->setStrokeStyle(SolidStroke);
context->setStrokeColor(borderColor, context->strokeColorSpace());
context->setStrokeThickness(1);
context->setFillColor(Color::transparent, context->fillColorSpace());
@@ -635,6 +636,7 @@ bool RenderThemeAndroid::paintCombo(RenderObject* obj, const PaintInfo& info, c
context->fillRect(FloatRect(bounds.maxX() - arrowSize + 0.5f, bounds.y() + .5f,
arrowSize - 1, bounds.height() - 1));
// outline
+ context->setStrokeStyle(SolidStroke);
context->setStrokeThickness(1.0f);
context->setStrokeColor(Color(defaultBgDark), context->strokeColorSpace());
context->strokeRect(bounds, 1.0f);