aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkMorphologyImageFilter.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-10-17 07:43:27 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-17 07:43:27 -0700
commit77a2e52c7d5c77de73ecab5fec79072ee4460706 (patch)
tree165c7d8957b1e8415ecd98b57016db576e5b14a2 /src/effects/SkMorphologyImageFilter.cpp
parent1ed348aea37e34dd0ad3bde33cd28bcbd1c2a587 (diff)
Remove DrawingMgr shims from GrContext
Diffstat (limited to 'src/effects/SkMorphologyImageFilter.cpp')
-rw-r--r--src/effects/SkMorphologyImageFilter.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp
index 6f6a1e15f7..416bd23567 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;
}