Index: src/fonts/SkTestScalerContext.cpp |
diff --git a/src/fonts/SkTestScalerContext.cpp b/src/fonts/SkTestScalerContext.cpp |
index a2748564a56cca6722d165c3fb224fee80712eb9..600e2de609c49fde3d31394742118faee1d4d045 100644 |
--- a/src/fonts/SkTestScalerContext.cpp |
+++ b/src/fonts/SkTestScalerContext.cpp |
@@ -183,9 +183,8 @@ |
class SkTestScalerContext : public SkScalerContext { |
public: |
- SkTestScalerContext(SkTestTypeface* face, const SkScalerContextEffects& effects, |
- const SkDescriptor* desc) |
- : SkScalerContext(face, effects, desc) |
+ SkTestScalerContext(SkTestTypeface* face, const SkDescriptor* desc) |
+ : SkScalerContext(face, desc) |
, fFace(face) |
{ |
fRec.getSingleMatrix(&fMatrix); |
@@ -284,7 +283,6 @@ |
SkMatrix fMatrix; |
}; |
-SkScalerContext* SkTestTypeface::onCreateScalerContext(const SkScalerContextEffects& effects, |
- const SkDescriptor* desc) const { |
- return new SkTestScalerContext(const_cast<SkTestTypeface*>(this), effects, desc); |
-} |
+SkScalerContext* SkTestTypeface::onCreateScalerContext(const SkDescriptor* desc) const { |
+ return new SkTestScalerContext(const_cast<SkTestTypeface*>(this), desc); |
+} |