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>
diff --git a/src/core/SkGlyphRun.cpp b/src/core/SkGlyphRun.cpp
index ee3dcbc..effc1a1 100644
--- a/src/core/SkGlyphRun.cpp
+++ b/src/core/SkGlyphRun.cpp
@@ -187,7 +187,7 @@
 
     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 @@
     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::simplifyTextBlobIgnoringRSXForm(const SkPaint& paint,
-                                                        const SkTextBlobRunIterator& it,
+void SkGlyphRunBuilder::simplifyTextBlobIgnoringRSXForm(const SkTextBlobRunIterator& it,
                                                         SkPoint* positions) {
     size_t runSize = it.glyphCount();
 
diff --git a/src/core/SkGlyphRun.h b/src/core/SkGlyphRun.h
index 9a88830..0c929a1 100644
--- a/src/core/SkGlyphRun.h
+++ b/src/core/SkGlyphRun.h
@@ -158,7 +158,6 @@
             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);