Index: tests/PictureTest.cpp |
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp |
index 832a80f438e7dfb8535223ac652e485ef143061b..9e36d841df4535a6497e6edb057e72d4db5b7a38 100644 |
--- a/tests/PictureTest.cpp |
+++ b/tests/PictureTest.cpp |
@@ -1177,7 +1177,7 @@ |
SkPictureRecorder recorder; |
SkCanvas* canvas = recorder.beginRecording(10, 10); |
SkPaint paint; |
- paint.setTypeface(SkTypeface::MakeFromName("Arial", SkTypeface::kItalic)); |
+ paint.setTypeface(SkTypeface::CreateFromName("Arial", SkTypeface::kItalic)); |
canvas->drawText("Q", 1, 0, 10, paint); |
sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); |
REPORTER_ASSERT(reporter, picture->hasText()); |