Index: src/core/SkRRect.cpp |
diff --git a/src/core/SkRRect.cpp b/src/core/SkRRect.cpp |
index ca4fd561523f345b0f9b889c09ea5f44b13c628a..2e03f812001644c1b30549ddd24f1ba94f3cc79e 100644 |
--- a/src/core/SkRRect.cpp |
+++ b/src/core/SkRRect.cpp |
@@ -179,10 +179,10 @@ void SkRRect::setRectRadii(const SkRect& rect, const SkVector radii[4]) { |
scale = compute_min_scale(fRadii[3].fY, fRadii[0].fY, height, scale); |
if (scale < 1.0) { |
- ScaleToSides::AdjustRadii(width, scale, &fRadii[0].fX, &fRadii[1].fX); |
- ScaleToSides::AdjustRadii(height, scale, &fRadii[1].fY, &fRadii[2].fY); |
- ScaleToSides::AdjustRadii(width, scale, &fRadii[2].fX, &fRadii[3].fX); |
- ScaleToSides::AdjustRadii(height, scale, &fRadii[3].fY, &fRadii[0].fY); |
+ SkScaleToSides::AdjustRadii(width, scale, &fRadii[0].fX, &fRadii[1].fX); |
+ SkScaleToSides::AdjustRadii(height, scale, &fRadii[1].fY, &fRadii[2].fY); |
+ SkScaleToSides::AdjustRadii(width, scale, &fRadii[2].fX, &fRadii[3].fX); |
+ SkScaleToSides::AdjustRadii(height, scale, &fRadii[3].fY, &fRadii[0].fY); |
} |
// At this point we're either oval, simple, or complex (not empty or rect). |