Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index e41a1b72a858cca701b4143a6e0e0c4fd5ee625a..9b7fa31ab03c8a55a1a4109a514a487cd489f1c7 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -137,7 +137,7 @@ bool GrDrawTarget::setupDstReadIfNecessary(const GrPipelineBuilder& pipelineBuil |
} |
SkIRect copyRect; |
- pipelineBuilder.clip().getConservativeBounds(rt, ©Rect); |
+ pipelineBuilder.clip().getConservativeBounds(rt->width(), rt->height(), ©Rect); |
SkIRect drawIBounds; |
bounds.roundOut(&drawIBounds); |