Index: src/gpu/SkGpuDevice_drawTexture.cpp |
diff --git a/src/gpu/SkGpuDevice_drawTexture.cpp b/src/gpu/SkGpuDevice_drawTexture.cpp |
index da0a4acd4526bf8d8b4ae9e6d2c17549a344b6bb..2843c3199699076ad3387cf074bc0f68cb03f420 100644 |
--- a/src/gpu/SkGpuDevice_drawTexture.cpp |
+++ b/src/gpu/SkGpuDevice_drawTexture.cpp |
@@ -226,15 +226,13 @@ void SkGpuDevice::drawTextureProducerImpl(GrTextureProducer* producer, |
// First see if we can do the draw + mask filter direct to the dst. |
SkStrokeRec rec(SkStrokeRec::kFill_InitStyle); |
- SkRRect rrect; |
- rrect.setRect(clippedDstRect); |
if (mf->directFilterRRectMaskGPU(fContext->textureProvider(), |
fDrawContext.get(), |
&grPaint, |
clip, |
viewMatrix, |
rec, |
- rrect)) { |
+ SkRRect::MakeRect(clippedDstRect))) { |
return; |
} |
SkPath rectPath; |