| Index: src/core/SkScalerContext.cpp
|
| diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp
|
| index 4d7f3629eb060f7763916be9ba910b902e1ff9be..77b1258a6e92b4cda4b7bbafd9778239fe429f93 100644
|
| --- a/src/core/SkScalerContext.cpp
|
| +++ b/src/core/SkScalerContext.cpp
|
| @@ -210,7 +210,7 @@ void SkScalerContext::getMetrics(SkGlyph* glyph) {
|
| fRec.getMatrixFrom2x2(&matrix);
|
|
|
| src.fImage = NULL; // only want the bounds from the filter
|
| - if (fMaskFilter->filterMask(&dst, src, matrix, NULL)) {
|
| + if (fMaskFilter->filterMask(&dst, src, matrix, NULL, NULL)) {
|
| if (dst.fBounds.isEmpty() || !dst.fBounds.is16Bit()) {
|
| goto SK_ERROR;
|
| }
|
| @@ -589,7 +589,7 @@ void SkScalerContext::getImage(const SkGlyph& origGlyph) {
|
|
|
| fRec.getMatrixFrom2x2(&matrix);
|
|
|
| - if (fMaskFilter->filterMask(&dstM, srcM, matrix, NULL)) {
|
| + if (fMaskFilter->filterMask(&dstM, srcM, matrix, NULL, NULL)) {
|
| int width = SkFastMin32(origGlyph.fWidth, dstM.fBounds.width());
|
| int height = SkFastMin32(origGlyph.fHeight, dstM.fBounds.height());
|
| int dstRB = origGlyph.rowBytes();
|
|
|