diff options
author | 2015-10-17 07:43:27 -0700 | |
---|---|---|
committer | 2015-10-17 07:43:27 -0700 | |
commit | 77a2e52c7d5c77de73ecab5fec79072ee4460706 (patch) | |
tree | 165c7d8957b1e8415ecd98b57016db576e5b14a2 /src/gpu/effects/GrConfigConversionEffect.cpp | |
parent | 1ed348aea37e34dd0ad3bde33cd28bcbd1c2a587 (diff) |
Remove DrawingMgr shims from GrContext
BUG=skia:4094
Review URL: https://codereview.chromium.org/1413673002
Diffstat (limited to 'src/gpu/effects/GrConfigConversionEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrConfigConversionEffect.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpu/effects/GrConfigConversionEffect.cpp b/src/gpu/effects/GrConfigConversionEffect.cpp index 8acf727bbf..ec418d0000 100644 --- a/src/gpu/effects/GrConfigConversionEffect.cpp +++ b/src/gpu/effects/GrConfigConversionEffect.cpp @@ -224,7 +224,8 @@ void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context paint1.addColorFragmentProcessor(pmToUPM1); - SkAutoTUnref<GrDrawContext> readDrawContext(context->drawContext(readTex->asRenderTarget())); + SkAutoTUnref<GrDrawContext> readDrawContext( + context->drawContext(readTex->asRenderTarget())); if (!readDrawContext) { failed = true; break; @@ -240,7 +241,8 @@ void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context paint2.addColorFragmentProcessor(upmToPM); - SkAutoTUnref<GrDrawContext> tempDrawContext(context->drawContext(tempTex->asRenderTarget())); + SkAutoTUnref<GrDrawContext> tempDrawContext( + context->drawContext(tempTex->asRenderTarget())); if (!tempDrawContext) { failed = true; break; |