Index: samplecode/SampleSlides.cpp |
diff --git a/samplecode/SampleSlides.cpp b/samplecode/SampleSlides.cpp |
index 9f57907626913c4635a309c6dfc98ba0fc49a2d5..edc2dd77a2e8022ec96c086992d251146a44ef2c 100644 |
--- a/samplecode/SampleSlides.cpp |
+++ b/samplecode/SampleSlides.cpp |
@@ -625,7 +625,7 @@ static void texteffect_slide(SkCanvas* canvas) { |
SkScalar x = 20; |
SkScalar y = 80; |
SkPaint paint; |
- paint.setTypeface(SkTypeface::CreateFromName("Georgia", SkTypeface::kItalic)); |
+ paint.setTypeface(SkTypeface::MakeFromName("Georgia", SkTypeface::kItalic)); |
paint.setTextSize(75); |
paint.setAntiAlias(true); |
paint.setColor(SK_ColorBLUE); |