Chromium Code Reviews| Index: src/gpu/GrContext.cpp |
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
| index 607d3c3cc7144788da553418b599084842bb7582..852afe01ba74a2198bcad9f4d3f373ad05336b51 100755 |
| --- a/src/gpu/GrContext.cpp |
| +++ b/src/gpu/GrContext.cpp |
| @@ -650,6 +650,10 @@ static bool apply_aa_to_rect(GrDrawTarget* target, |
| #endif |
| combinedMatrix.mapRect(devBoundRect, rect); |
| + if (!combinedMatrix.rectStaysRect()) { |
| + return true; |
| + } |
| + |
| if (strokeWidth < 0) { |
| return !is_irect(*devBoundRect); |
| } |