aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2018-07-11 16:07:01 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-12 20:59:19 +0000
commitc434ade20eba4a62c450b7ce33a89966fac9df62 (patch)
tree99430be42012ee0c664974bb9f4ba564392e80fc /tests
parent04aa393045c6172f78d96f9f5a02c6f1cc0da445 (diff)
Move to using pointers in simplifyDraw*
Move to using pointers into buffers. This will allow multiple runs from blobs to share buffers. Change-Id: I6ebed2e490c5fe71077ddc921ead145ce17c5ebd Reviewed-on: https://skia-review.googlesource.com/141049 Commit-Queue: Herb Derby <herb@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/GlyphRunTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GlyphRunTest.cpp b/tests/GlyphRunTest.cpp
index 7ec14240e7..b87edc7731 100644
--- a/tests/GlyphRunTest.cpp
+++ b/tests/GlyphRunTest.cpp
@@ -47,5 +47,5 @@ DEF_TEST(GlyphRunBasic, reporter) {
paint.setTextEncoding(SkPaint::kGlyphID_TextEncoding);
SkGlyphRunBuilder builder;
- builder.prepareDrawText(paint, glyphs, count, SkPoint::Make(0, 0));
+ builder.drawText(paint, glyphs, count, SkPoint::Make(0, 0));
}