Index: samplecode/SampleAll.cpp |
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp |
index 738b34e3aef63abf8f57f0f11ba751af8d0bd5ba..357a437a67acee1a775c59139f589028bf67b3e9 100644 |
--- a/samplecode/SampleAll.cpp |
+++ b/samplecode/SampleAll.cpp |
@@ -527,7 +527,8 @@ |
paint.setAntiAlias(true); |
paint.setTextSize(SkIntToScalar(48)); |
- paint.setTypeface(SkTypeface::MakeFromName("sans-serif", SkTypeface::kBold)); |
+ paint.setTypeface(SkTypeface::CreateFromName("sans-serif", |
+ SkTypeface::kBold)); |
SkString str("GOOGLE"); |