Index: src/ports/SkFontHost_win.cpp |
diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp |
index 395307cf043c714729fa25b286acf475c896b939..f772d8c57e13b28faebe8ed7f4238001a2f7f271 100644 |
--- a/src/ports/SkFontHost_win.cpp |
+++ b/src/ports/SkFontHost_win.cpp |
@@ -257,8 +257,7 @@ |
protected: |
SkStreamAsset* onOpenStream(int* ttcIndex) const override; |
- SkScalerContext* onCreateScalerContext(const SkScalerContextEffects&, |
- const SkDescriptor*) const override; |
+ SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override; |
void onFilterRec(SkScalerContextRec*) const override; |
SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( |
PerGlyphInfo, const uint32_t*, uint32_t) const override; |
@@ -534,7 +533,7 @@ |
class SkScalerContext_GDI : public SkScalerContext { |
public: |
- SkScalerContext_GDI(SkTypeface*, const SkScalerContextEffects&, const SkDescriptor* desc); |
+ SkScalerContext_GDI(SkTypeface*, const SkDescriptor* desc); |
virtual ~SkScalerContext_GDI(); |
// Returns true if the constructor was able to complete all of its |
@@ -605,9 +604,8 @@ |
} |
SkScalerContext_GDI::SkScalerContext_GDI(SkTypeface* rawTypeface, |
- const SkScalerContextEffects& effects, |
- const SkDescriptor* desc) |
- : SkScalerContext(rawTypeface, effects, desc) |
+ const SkDescriptor* desc) |
+ : SkScalerContext(rawTypeface, desc) |
, fDDC(0) |
, fSavefont(0) |
, fFont(0) |
@@ -2287,10 +2285,8 @@ |
return bufferSize == GDI_ERROR ? 0 : bufferSize; |
} |
-SkScalerContext* LogFontTypeface::onCreateScalerContext(const SkScalerContextEffects& effects, |
- const SkDescriptor* desc) const { |
- SkScalerContext_GDI* ctx = new SkScalerContext_GDI(const_cast<LogFontTypeface*>(this), |
- effects, desc); |
+SkScalerContext* LogFontTypeface::onCreateScalerContext(const SkDescriptor* desc) const { |
+ SkScalerContext_GDI* ctx = new SkScalerContext_GDI(const_cast<LogFontTypeface*>(this), desc); |
if (!ctx->isValid()) { |
delete ctx; |
ctx = nullptr; |