Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index f3ae6accd9100e1e2a48f9d5c17d595c9d65989a..05f10870ff0685547d6f30075b42d2840410e1fe 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -564,7 +564,8 @@ bool apply_morphology(const SkBitmap& input, |
if (nullptr == scratch) { |
return false; |
} |
- SkAutoTUnref<GrDrawContext> dstDrawContext(context->drawContext(scratch->asRenderTarget())); |
+ SkAutoTUnref<GrDrawContext> dstDrawContext( |
+ context->drawContext(scratch->asRenderTarget())); |
if (!dstDrawContext) { |
return false; |
} |
@@ -587,7 +588,8 @@ bool apply_morphology(const SkBitmap& input, |
if (nullptr == scratch) { |
return false; |
} |
- SkAutoTUnref<GrDrawContext> dstDrawContext(context->drawContext(scratch->asRenderTarget())); |
+ SkAutoTUnref<GrDrawContext> dstDrawContext( |
+ context->drawContext(scratch->asRenderTarget())); |
if (!dstDrawContext) { |
return false; |
} |