From 98f974e63bc216d6c12d4d319d25bbf8751184ff Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Thu, 27 Sep 2012 10:39:02 -0700 Subject: Force stroke style for radio drawing bug:7188900 Change-Id: I9cfc020be463b0441a3d718d44cc6c948781d7cf --- Source/WebCore/platform/android/RenderThemeAndroid.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.1