| Index: src/gpu/GrDrawContext.cpp
|
| diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
|
| index b017b50fea4fa6a8019ba0dee347337d4666d9c5..17cdbf3b6be825264ee2e523c0b58aa0c435f5dd 100644
|
| --- a/src/gpu/GrDrawContext.cpp
|
| +++ b/src/gpu/GrDrawContext.cpp
|
| @@ -590,7 +590,7 @@ static bool is_nested_rects(const SkMatrix& viewMatrix,
|
|
|
| // TODO: this restriction could be lifted if we were willing to apply
|
| // the matrix to all the points individually rather than just to the rect
|
| - if (!viewMatrix.preservesAxisAlignment()) {
|
| + if (!viewMatrix.rectStaysRect()) {
|
| return false;
|
| }
|
|
|
|
|