diff options
Diffstat (limited to 'src/gpu/ops/GrOvalOpFactory.cpp')
-rw-r--r-- | src/gpu/ops/GrOvalOpFactory.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gpu/ops/GrOvalOpFactory.cpp b/src/gpu/ops/GrOvalOpFactory.cpp index 747fa5f119..7b0e4621e9 100644 --- a/src/gpu/ops/GrOvalOpFactory.cpp +++ b/src/gpu/ops/GrOvalOpFactory.cpp @@ -25,6 +25,8 @@ #include "ops/GrMeshDrawOp.h" #include "ops/GrSimpleMeshDrawOpHelper.h" +#include <utility> + namespace { struct EllipseVertex { @@ -973,7 +975,8 @@ public: // If the matrix included scale (on one axis) we need to swap our start and end points if ((viewMatrix.getScaleX() < 0) != (viewMatrix.getScaleY() < 0)) { - SkTSwap(startPoint, stopPoint); + using std::swap; + swap(startPoint, stopPoint); } fRoundCaps = style.strokeRec().getWidth() > 0 && |