diff options
author | robertphillips <robertphillips@google.com> | 2015-10-17 07:43:27 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-17 07:43:27 -0700 |
commit | 77a2e52c7d5c77de73ecab5fec79072ee4460706 (patch) | |
tree | 165c7d8957b1e8415ecd98b57016db576e5b14a2 /src/effects/SkMorphologyImageFilter.cpp | |
parent | 1ed348aea37e34dd0ad3bde33cd28bcbd1c2a587 (diff) |
Remove DrawingMgr shims from GrContext
BUG=skia:4094
Review URL: https://codereview.chromium.org/1413673002
Diffstat (limited to 'src/effects/SkMorphologyImageFilter.cpp')
-rw-r--r-- | src/effects/SkMorphologyImageFilter.cpp | 6 |
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; } |