diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 4d3aa3a228..2f4780ecf9 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -309,8 +309,8 @@ void SkGpuDevice::prepareRenderTarget(const SkDraw& draw) { void SkGpuDevice::setMatrixClip(const SkMatrix& matrix, const SkRegion& clip, const SkClipStack& clipStack) { this->INHERITED::setMatrixClip(matrix, clip, clipStack); - - convert_matrixclip(fContext, matrix, clipStack, clip, this->getOrigin()); + // We don't need to set them now because the context may not reflect this device. + fNeedPrepareRenderTarget = true; } void SkGpuDevice::gainFocus(SkCanvas* canvas, const SkMatrix& matrix,