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