Index: src/core/SkDraw.cpp |
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp |
index 246c31ba5102a114fa51c7a67e0559a852628ab6..9396fa7943b5b60323c79b11ff00a769e3874830 100644 |
--- a/src/core/SkDraw.cpp |
+++ b/src/core/SkDraw.cpp |
@@ -1005,7 +1005,7 @@ DRAW_PATH: |
this->drawPath(path, paint, nullptr, true); |
} |
-static SkScalar compute_res_scale_for_stroking(const SkMatrix& matrix) { |
+SkScalar SkDraw::ComputeResScaleForStroking(const SkMatrix& matrix) { |
if (!matrix.hasPerspective()) { |
SkScalar sx = SkPoint::Length(matrix[SkMatrix::kMScaleX], matrix[SkMatrix::kMSkewY]); |
SkScalar sy = SkPoint::Length(matrix[SkMatrix::kMSkewX], matrix[SkMatrix::kMScaleY]); |
@@ -1085,7 +1085,7 @@ void SkDraw::drawPath(const SkPath& origSrcPath, const SkPaint& origPaint, |
cullRectPtr = &cullRect; |
} |
doFill = paint->getFillPath(*pathPtr, &tmpPath, cullRectPtr, |
- compute_res_scale_for_stroking(*fMatrix)); |
+ ComputeResScaleForStroking(*fMatrix)); |
pathPtr = &tmpPath; |
} |