Index: Source/platform/graphics/skia/SkiaUtils.cpp |
diff --git a/Source/platform/graphics/skia/SkiaUtils.cpp b/Source/platform/graphics/skia/SkiaUtils.cpp |
index 627b2a5cff9152cf251dcc4378ab450e1331cbbf..36c7a17bd7dffd95c4921ce26150f53294c3133f 100644 |
--- a/Source/platform/graphics/skia/SkiaUtils.cpp |
+++ b/Source/platform/graphics/skia/SkiaUtils.cpp |
@@ -375,13 +375,12 @@ void drawPlatformFocusRing(const PrimitiveType& primitive, SkCanvas* canvas, SkC |
paint.setAntiAlias(true); |
paint.setStyle(SkPaint::kStroke_Style); |
paint.setColor(color); |
+ paint.setStrokeWidth(GraphicsContext::focusRingWidth(width)); |
#if OS(MACOSX) |
- paint.setStrokeWidth(width); |
paint.setAlpha(64); |
- float cornerRadius = (width - 1) * 0.5f; |
+ const float cornerRadius = (width - 1) * 0.5f; |
#else |
- paint.setStrokeWidth(1); |
const float cornerRadius = 1; |
#endif |