Index: src/ports/SkFontHost_FreeType.cpp |
diff --git a/src/ports/SkFontHost_FreeType.cpp b/src/ports/SkFontHost_FreeType.cpp |
index 55eb87fe6d4bfadb8eadfaf01ec78128e5981855..44eb50ce406c8b7fdec44a1fef448ac1896aabd5 100644 |
--- a/src/ports/SkFontHost_FreeType.cpp |
+++ b/src/ports/SkFontHost_FreeType.cpp |
@@ -181,7 +181,7 @@ |
class SkScalerContext_FreeType : public SkScalerContext_FreeType_Base { |
public: |
- SkScalerContext_FreeType(SkTypeface*, const SkScalerContextEffects&, const SkDescriptor* desc); |
+ SkScalerContext_FreeType(SkTypeface*, const SkDescriptor* desc); |
virtual ~SkScalerContext_FreeType(); |
bool success() const { |
@@ -663,10 +663,10 @@ |
bothZero(rec.fPost2x2[0][0], rec.fPost2x2[1][1])); |
} |
-SkScalerContext* SkTypeface_FreeType::onCreateScalerContext(const SkScalerContextEffects& effects, |
- const SkDescriptor* desc) const { |
+SkScalerContext* SkTypeface_FreeType::onCreateScalerContext( |
+ const SkDescriptor* desc) const { |
SkScalerContext_FreeType* c = |
- new SkScalerContext_FreeType(const_cast<SkTypeface_FreeType*>(this), effects, desc); |
+ new SkScalerContext_FreeType(const_cast<SkTypeface_FreeType*>(this), desc); |
if (!c->success()) { |
delete c; |
c = nullptr; |
@@ -790,10 +790,8 @@ |
return chosenStrikeIndex; |
} |
-SkScalerContext_FreeType::SkScalerContext_FreeType(SkTypeface* typeface, |
- const SkScalerContextEffects& effects, |
- const SkDescriptor* desc) |
- : SkScalerContext_FreeType_Base(typeface, effects, desc) |
+SkScalerContext_FreeType::SkScalerContext_FreeType(SkTypeface* typeface, const SkDescriptor* desc) |
+ : SkScalerContext_FreeType_Base(typeface, desc) |
, fFace(nullptr) |
, fFTSize(nullptr) |
, fStrikeIndex(-1) |