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