Remove GrTextUtil::Paint
This was just acting like a pair of SkPaint, GrColor. But,
had an additional pointer to a color space. I changed
everything to just pass the pair around.
BUG=chromium:864564
Change-Id: I9858556b8bca0d5359d4d6e9784d63ff8c4f467b
Reviewed-on: https://skia-review.googlesource.com/146381
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/tests/DrawOpAtlasTest.cpp b/tests/DrawOpAtlasTest.cpp
index 6993430..c12149f 100644
--- a/tests/DrawOpAtlasTest.cpp
+++ b/tests/DrawOpAtlasTest.cpp
@@ -194,14 +194,11 @@
paint.setLCDRenderText(false);
paint.setAntiAlias(false);
paint.setSubpixelText(false);
- GrTextUtils::Paint utilsPaint(&paint, &rtc->colorSpaceInfo());
const char* text = "a";
- std::unique_ptr<GrDrawOp> op = textContext->createOp_TestingOnly(context, textContext,
- rtc.get(), paint,
- SkMatrix::I(), text,
- 16, 16);
+ std::unique_ptr<GrDrawOp> op = textContext->createOp_TestingOnly(
+ context, textContext, rtc.get(), paint, SkMatrix::I(), text, 16, 16);
op->finalize(*context->contextPriv().caps(), nullptr);
TestingUploadTarget uploadTarget;