diff options
author | Ben Wagner <bungeman@google.com> | 2018-04-19 10:43:05 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-19 15:24:04 +0000 |
commit | 4b5e4b3f93137f00c153fba414b5b8ff53321b1c (patch) | |
tree | 88aeb73e4694f134fe897a2009325dc675dcc293 /tools/fonts/SkRandomScalerContext.cpp | |
parent | 57bf4a3dbf01f11d3f2ec2e1952388220bef50be (diff) |
Remove unused parameters from internalGetPath.
The fillPath and fillToDevMatrix parameters to
SkScalerContext::internalGetPath are never used. Remove them.
Change-Id: I4fda9b3a24232924e9f94be4abcf8ac10ac7901c
Reviewed-on: https://skia-review.googlesource.com/122360
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'tools/fonts/SkRandomScalerContext.cpp')
-rw-r--r-- | tools/fonts/SkRandomScalerContext.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/fonts/SkRandomScalerContext.cpp b/tools/fonts/SkRandomScalerContext.cpp index a8a8821a45..feeca48073 100644 --- a/tools/fonts/SkRandomScalerContext.cpp +++ b/tools/fonts/SkRandomScalerContext.cpp @@ -100,10 +100,8 @@ void SkRandomScalerContext::generateMetrics(SkGlyph* glyph) { glyph->fWidth = ibounds.width(); glyph->fHeight = ibounds.height(); } else { - SkPath devPath, fillPath; - SkMatrix fillToDevMatrix; - - this->internalGetPath(glyph->getPackedID(), &fillPath, &devPath, &fillToDevMatrix); + SkPath devPath; + this->internalGetPath(glyph->getPackedID(), &devPath); // just use devPath const SkIRect ir = devPath.getBounds().roundOut(); |