| Index: src/effects/SkDisplacementMapEffect.cpp
|
| diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp
|
| index 49290718e391c1eba6f89ca667f41ca444247b1c..e87a871faf7b9200f7ca22f36f4203705f518380 100644
|
| --- a/src/effects/SkDisplacementMapEffect.cpp
|
| +++ b/src/effects/SkDisplacementMapEffect.cpp
|
| @@ -453,7 +453,7 @@ bool SkDisplacementMapEffect::filterImageGPU(Proxy* proxy, const SkBitmap& src,
|
| matrix.setTranslate(-SkIntToScalar(colorBounds.x()),
|
| -SkIntToScalar(colorBounds.y()));
|
|
|
| - GrDrawContext* drawContext = context->drawContext();
|
| + SkAutoTUnref<GrDrawContext> drawContext(context->drawContext());
|
| if (!drawContext) {
|
| return false;
|
| }
|
|
|