commit | 75a475cf2e7c66eb58b6b8b1441deb5911e53181 | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Fri Jan 13 09:18:59 2017 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Jan 13 16:09:34 2017 +0000 |
tree | da854469d3f2af6cbf931610d6e5b4d095bb2e89 | |
parent | 550148ba572acc75e73d3c7d600ea7fa43db55f2 [diff] [blame] |
Try out refFoo pattern on GrRenderTargetContext Change-Id: Ifae5618f30c2202b9083f479b58556709ff6126a Reviewed-on: https://skia-review.googlesource.com/6990 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp index 04b9b4f..28483bd 100644 --- a/src/effects/SkDisplacementMapEffect.cpp +++ b/src/effects/SkDisplacementMapEffect.cpp
@@ -376,7 +376,7 @@ SkIRect::MakeWH(bounds.width(), bounds.height()), kNeedNewImageUniqueID_SpecialImage, sk_ref_sp(renderTargetContext->asDeferredTexture()), - sk_ref_sp(renderTargetContext->getColorSpace())); + renderTargetContext->refColorSpace()); } #endif