| Index: gm/convexpolyeffect.cpp
|
| diff --git a/gm/convexpolyeffect.cpp b/gm/convexpolyeffect.cpp
|
| index 03f4634bf9def778ee7fa2575561ed799c0f0b5d..294de5537ff64618bee8ea822f63f708533d7cd3 100644
|
| --- a/gm/convexpolyeffect.cpp
|
| +++ b/gm/convexpolyeffect.cpp
|
| @@ -191,9 +191,8 @@ protected:
|
| SkDEBUGFAIL("Couldn't get Gr test target.");
|
| return;
|
| }
|
| - SkMatrix m;
|
| + const SkMatrix m = SkMatrix::MakeTrans(x, y);
|
| SkPath p;
|
| - m.setTranslate(x, y);
|
| path->transform(m, &p);
|
|
|
| GrPrimitiveEdgeType edgeType = (GrPrimitiveEdgeType) et;
|
|
|