diff options
Diffstat (limited to 'tests/FontHostStreamTest.cpp')
-rw-r--r-- | tests/FontHostStreamTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FontHostStreamTest.cpp b/tests/FontHostStreamTest.cpp index 2bb439b791..c3bc878da8 100644 --- a/tests/FontHostStreamTest.cpp +++ b/tests/FontHostStreamTest.cpp @@ -82,7 +82,7 @@ DEF_TEST(FontHostStream, reporter) { // Test: origTypeface and streamTypeface from orig data draw the same drawBG(&origCanvas); - origCanvas.drawText("A", 1, point.fX, point.fY, paint); + origCanvas.drawString("A", point.fX, point.fY, paint); sk_sp<SkTypeface> typeface(paint.getTypeface() ? paint.refTypeface() : SkTypeface::MakeDefault()); |