Index: src/gpu/GrAARectRenderer.cpp |
diff --git a/src/gpu/GrAARectRenderer.cpp b/src/gpu/GrAARectRenderer.cpp |
index 2db42ccba84da3691500d9764283c71551a7c519..edc8f71dd903e3f94317dcaa2b012f0d304786b8 100644 |
--- a/src/gpu/GrAARectRenderer.cpp |
+++ b/src/gpu/GrAARectRenderer.cpp |
@@ -858,7 +858,7 @@ void GrAARectRenderer::geometryStrokeAARect(GrGpu* gpu, |
#ifndef SK_IGNORE_THIN_STROKED_RECT_FIX |
// TODO: this only really works if the X & Y margins are the same all around |
- // the rect |
+ // the rect (or if they are all >= 1.0). |
SkScalar inset = SkMinScalar(SK_Scalar1, devOutside.fRight - devInside.fRight); |
inset = SkMinScalar(inset, devInside.fLeft - devOutside.fLeft); |
inset = SkMinScalar(inset, devInside.fTop - devOutside.fTop); |