| Index: tests/CanvasTest.cpp
|
| diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp
|
| index b209d0df34a88a009ad771af1315bfac1523ba50..59642975b470e81de3da54cb4449eb5c40a30ad3 100644
|
| --- a/tests/CanvasTest.cpp
|
| +++ b/tests/CanvasTest.cpp
|
| @@ -173,13 +173,13 @@ class Canvas2CanvasClipVisitor : public SkCanvas::ClipVisitor {
|
| public:
|
| Canvas2CanvasClipVisitor(SkCanvas* target) : fTarget(target) {}
|
|
|
| - void clipRect(const SkRect& r, SkRegion::Op op, bool aa) override {
|
| + void clipRect(const SkRect& r, SkCanvas::ClipOp op, bool aa) override {
|
| fTarget->clipRect(r, op, aa);
|
| }
|
| - void clipRRect(const SkRRect& r, SkRegion::Op op, bool aa) override {
|
| + void clipRRect(const SkRRect& r, SkCanvas::ClipOp op, bool aa) override {
|
| fTarget->clipRRect(r, op, aa);
|
| }
|
| - void clipPath(const SkPath& p, SkRegion::Op op, bool aa) override {
|
| + void clipPath(const SkPath& p, SkCanvas::ClipOp op, bool aa) override {
|
| fTarget->clipPath(p, op, aa);
|
| }
|
|
|
| @@ -299,7 +299,7 @@ SIMPLE_TEST_STEP(Concat, concat(d.fMatrix));
|
| SIMPLE_TEST_STEP(SetMatrix, setMatrix(d.fMatrix));
|
| SIMPLE_TEST_STEP(ClipRect, clipRect(d.fRect));
|
| SIMPLE_TEST_STEP(ClipPath, clipPath(d.fPath));
|
| -SIMPLE_TEST_STEP(ClipRegion, clipRegion(d.fRegion, SkRegion::kReplace_Op));
|
| +SIMPLE_TEST_STEP(ClipRegion, clipRegion(d.fRegion, SkCanvas::kReplace_Op));
|
| SIMPLE_TEST_STEP(Clear, clear(d.fColor));
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|