Remove paint from simplifyTextBlobIgnoringRSXForm.
It isn't used, so remove it. Change-Id: Ic10d54e5cb54e458c94f2e544c3a022be2068f0d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/235016 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
This commit is contained in:
parent
0be3480546
commit
4008519f84
@ -187,7 +187,7 @@ void SkGlyphRunBuilder::drawTextBlob(const SkPaint& paint, const SkTextBlob& blo
|
||||
|
||||
for (SkTextBlobRunIterator it(&blob); !it.done(); it.next()) {
|
||||
if (it.positioning() != SkTextBlobRunIterator::kRSXform_Positioning) {
|
||||
simplifyTextBlobIgnoringRSXForm(paint, it, positions);
|
||||
simplifyTextBlobIgnoringRSXForm(it, positions);
|
||||
} else {
|
||||
// Handle kRSXform_Positioning
|
||||
if (!this->empty()) {
|
||||
@ -224,7 +224,7 @@ void SkGlyphRunBuilder::textBlobToGlyphRunListIgnoringRSXForm(
|
||||
SkPoint* positions = fPositions;
|
||||
|
||||
for (SkTextBlobRunIterator it(&blob); !it.done(); it.next()) {
|
||||
simplifyTextBlobIgnoringRSXForm(paint, it, positions);
|
||||
simplifyTextBlobIgnoringRSXForm(it, positions);
|
||||
positions += it.glyphCount();
|
||||
}
|
||||
|
||||
@ -233,8 +233,7 @@ void SkGlyphRunBuilder::textBlobToGlyphRunListIgnoringRSXForm(
|
||||
}
|
||||
}
|
||||
|
||||
void SkGlyphRunBuilder::simplifyTextBlobIgnoringRSXForm(const SkPaint& paint,
|
||||
const SkTextBlobRunIterator& it,
|
||||
void SkGlyphRunBuilder::simplifyTextBlobIgnoringRSXForm(const SkTextBlobRunIterator& it,
|
||||
SkPoint* positions) {
|
||||
size_t runSize = it.glyphCount();
|
||||
|
||||
|
@ -158,7 +158,6 @@ private:
|
||||
SkSpan<const char> text = SkSpan<const char>{},
|
||||
SkSpan<const uint32_t> clusters = SkSpan<const uint32_t>{});
|
||||
void simplifyTextBlobIgnoringRSXForm(
|
||||
const SkPaint& paint,
|
||||
const SkTextBlobRunIterator& it,
|
||||
SkPoint* positions);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user