Revert "rename MakePath to Make"
This reverts commit 36132b2aeab8ad2569941e6fde69ffec49a69919.
Reason for revert: Draws so wrong.
Original change's description:
> rename MakePath to Make
>
> Change-Id: Ibdee0835308401fce99ff9e4d98486c4808f84a2
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/302683
> Reviewed-by: Herb Derby <herb@google.com>
> Commit-Queue: Herb Derby <herb@google.com>
TBR=herb@google.com,robertphillips@google.com
Change-Id: I6af8bca927fd791b6b5020b0ac14660e206f640c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/302776
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Herb Derby <herb@google.com>
diff --git a/src/gpu/text/GrTextBlob.cpp b/src/gpu/text/GrTextBlob.cpp
index a9b99a7..c990744 100644
--- a/src/gpu/text/GrTextBlob.cpp
+++ b/src/gpu/text/GrTextBlob.cpp
@@ -108,7 +108,7 @@
}
-auto GrPathSubRun::Make(
+auto GrPathSubRun::MakePaths(
const SkZip<SkGlyphVariant, SkPoint>& drawables,
bool isAntiAliased,
const SkStrikeSpec& strikeSpec,
@@ -870,10 +870,10 @@
const SkFont& runFont,
const SkStrikeSpec& strikeSpec) {
this->setHasBitmap();
- GrSubRun* subRun = GrPathSubRun::Make(drawables,
- runFont.hasSomeAntiAliasing(),
- strikeSpec,
- &fAlloc);
+ GrSubRun* subRun = GrPathSubRun::MakePaths(drawables,
+ runFont.hasSomeAntiAliasing(),
+ strikeSpec,
+ &fAlloc);
this->insertSubRun(subRun);
}
diff --git a/src/gpu/text/GrTextBlob.h b/src/gpu/text/GrTextBlob.h
index 9e3c539..ba1bcd8 100644
--- a/src/gpu/text/GrTextBlob.h
+++ b/src/gpu/text/GrTextBlob.h
@@ -204,10 +204,10 @@
const SkGlyphRunList& glyphRunList,
GrRenderTargetContext* rtc) override;
- static GrSubRun* Make(const SkZip<SkGlyphVariant, SkPoint>& drawables,
- bool isAntiAliased,
- const SkStrikeSpec& strikeSpec,
- SkArenaAlloc* alloc);
+ static GrSubRun* MakePaths(const SkZip<SkGlyphVariant, SkPoint>& drawables,
+ bool isAntiAliased,
+ const SkStrikeSpec& strikeSpec,
+ SkArenaAlloc* alloc);
private:
struct PathGlyph {