Index: src/core/SkTypeface.cpp |
diff --git a/src/core/SkTypeface.cpp b/src/core/SkTypeface.cpp |
index dc5306331ce55de728f086b5da9401289023364d..6024c81a17da9d2c2dbcbafb3b8897b8d1ebaaa6 100644 |
--- a/src/core/SkTypeface.cpp |
+++ b/src/core/SkTypeface.cpp |
@@ -40,8 +40,7 @@ |
SkEmptyTypeface() : SkTypeface(SkFontStyle(), 0, true) { } |
SkStreamAsset* onOpenStream(int* ttcIndex) const override { return nullptr; } |
- SkScalerContext* onCreateScalerContext(const SkScalerContextEffects&, |
- const SkDescriptor*) const override { |
+ SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override { |
return nullptr; |
} |
void onFilterRec(SkScalerContextRec*) const override { } |
@@ -349,8 +348,7 @@ |
desc->init(); |
desc->addEntry(kRec_SkDescriptorTag, sizeof(rec), &rec); |
- SkScalerContextEffects noeffects; |
- SkAutoTDelete<SkScalerContext> ctx(this->createScalerContext(noeffects, desc, true)); |
+ SkAutoTDelete<SkScalerContext> ctx(this->createScalerContext(desc, true)); |
if (ctx.get()) { |
SkPaint::FontMetrics fm; |
ctx->getFontMetrics(&fm); |