| Index: src/gpu/GrBlurUtils.cpp
|
| diff --git a/src/gpu/GrBlurUtils.cpp b/src/gpu/GrBlurUtils.cpp
|
| index d20226c19511deaf94b39a6d85ddcac633527e9e..b99cb34e5d9051c42fd0365bd923fe1c51655e80 100644
|
| --- a/src/gpu/GrBlurUtils.cpp
|
| +++ b/src/gpu/GrBlurUtils.cpp
|
| @@ -156,8 +156,8 @@ static void draw_path_with_mask_filter(GrContext* context,
|
|
|
| // We just fully apply the style here.
|
| if (style.applies()) {
|
| - if (!style.applyToPath(tmpPath.init(), &fillOrHairline, *path,
|
| - GrStyle::MatrixToScaleFactor(viewMatrix))) {
|
| + SkScalar scale = GrStyle::MatrixToScaleFactor(viewMatrix);
|
| + if (0 == scale || !style.applyToPath(tmpPath.init(), &fillOrHairline, *path, scale)) {
|
| return;
|
| }
|
| pathIsMutable = true;
|
|
|