From 4ffa027cf6232ec7c314f6d81ff494fc0b5ccd42 Mon Sep 17 00:00:00 2001 From: Herb Derby Date: Mon, 4 Jun 2018 15:49:15 -0400 Subject: Smarter use of glyph cache Change-Id: Ic9bea7310b375575503042881d9d54ff13996729 Reviewed-on: https://skia-review.googlesource.com/131924 Reviewed-by: Mike Klein --- tests/GlyphRunTest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/GlyphRunTest.cpp') diff --git a/tests/GlyphRunTest.cpp b/tests/GlyphRunTest.cpp index cad01acef7..7a80b7be93 100644 --- a/tests/GlyphRunTest.cpp +++ b/tests/GlyphRunTest.cpp @@ -16,5 +16,7 @@ DEF_TEST(GlyphRunInfo, reporter) { SkPaint paint; paint.setTextEncoding(SkPaint::kGlyphID_TextEncoding); - SkGlyphRun::MakeFromDrawText(paint, glyphs, count, SkPoint::Make(0, 0)); + SkGlyphSet glyphSet; + + SkGlyphRun::MakeFromDrawText(paint, glyphs, count, SkPoint::Make(0, 0), &glyphSet); } \ No newline at end of file -- cgit v1.2.3