aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
Diffstat (limited to 'gm')
-rw-r--r--gm/reveal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/reveal.cpp b/gm/reveal.cpp
index eb08a3f8a8..e58807c090 100644
--- a/gm/reveal.cpp
+++ b/gm/reveal.cpp
@@ -12,7 +12,7 @@
#include "SkRRectsGaussianEdgeMaskFilter.h"
#include "SkPath.h"
#include "SkPathOps.h"
-#include "SkRRect.h"
+#include "SkRRectPriv.h"
#include "SkStroke.h"
constexpr int kNumCols = 2;
@@ -61,7 +61,7 @@ public:
SkRect devRect;
ctm.mapRect(&devRect, fRRect.rect());
- SkScalar scaledRad = scales[0] * fRRect.getSimpleRadii().fX;
+ SkScalar scaledRad = scales[0] * SkRRectPriv::GetSimpleRadii(fRRect).fX;
*rr = SkRRect::MakeRectXY(devRect, scaledRad, scaledRad);
return true;