Chromium Code Reviews| Index: src/gpu/GrContext.cpp |
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
| index 607d3c3cc7144788da553418b599084842bb7582..e6d51f281dc7d401c3c21ba56bcd79db53b6e671 100755 |
| --- a/src/gpu/GrContext.cpp |
| +++ b/src/gpu/GrContext.cpp |
| @@ -650,6 +650,9 @@ static bool apply_aa_to_rect(GrDrawTarget* target, |
| #endif |
| combinedMatrix.mapRect(devBoundRect, rect); |
| + if (!combinedMatrix.rectStaysRect()) |
|
bsalomon
2014/12/02 21:36:56
style nit: we always use { }.
Otherwise, lgtm
|
| + return true; |
| + |
| if (strokeWidth < 0) { |
| return !is_irect(*devBoundRect); |
| } |