aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2018-07-27 16:28:01 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-27 21:03:26 +0000
commitc3bc69f238f5f10d0c2e27068bbcd772ca359d35 (patch)
treed3fc7c1fc58a764eb9ead8a58ab9abb016e8add0 /tests
parent46dbfbb528305fc7c7bd4f8cca56dc4321761511 (diff)
Rename MakeAsTextDraw to MakeFromText
Change-Id: I3fbb4d27b728e5fc5ecec9fc9d9e215dd5a83359 Reviewed-on: https://skia-review.googlesource.com/144123 Commit-Queue: Herb Derby <herb@google.com> Commit-Queue: Cary Clark <caryclark@google.com> Auto-Submit: Herb Derby <herb@google.com> Reviewed-by: Cary Clark <caryclark@google.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/TextBlobTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TextBlobTest.cpp b/tests/TextBlobTest.cpp
index 2c34a78e51..a3a09bfbfd 100644
--- a/tests/TextBlobTest.cpp
+++ b/tests/TextBlobTest.cpp
@@ -472,7 +472,7 @@ DEF_TEST(TextBlob_MakeAsDrawText, reporter) {
SkPaint paint;
paint.setTextEncoding(SkPaint::kUTF8_TextEncoding);
const char text[] = "Hello";
- auto blob = SkTextBlob::MakeAsDrawText(text, strlen(text), paint);
+ auto blob = SkTextBlob::MakeFromText(text, strlen(text), paint);
int runs = 0;
for(SkTextBlobRunIterator it(blob.get()); !it.done(); it.next()) {