| Index: bench/AAClipBench.cpp
|
| diff --git a/bench/AAClipBench.cpp b/bench/AAClipBench.cpp
|
| index 4cc9abe9fc9a17af655316b8d46023c1f01950bd..a56e6b8ebaa2638f2b0df389edb3fdd39f36bd64 100644
|
| --- a/bench/AAClipBench.cpp
|
| +++ b/bench/AAClipBench.cpp
|
| @@ -59,9 +59,9 @@ protected:
|
| canvas->save();
|
| #if 1
|
| if (fDoPath) {
|
| - canvas->clipPath(fClipPath, SkRegion::kReplace_Op, fDoAA);
|
| + canvas->legacyClipPath(fClipPath, SkRegion::kReplace_Op, fDoAA);
|
| } else {
|
| - canvas->clipRect(fClipRect, SkRegion::kReplace_Op, fDoAA);
|
| + canvas->legacyClipRect(fClipRect, SkRegion::kReplace_Op, fDoAA);
|
| }
|
|
|
| canvas->drawRect(fDrawRect, paint);
|
| @@ -129,7 +129,7 @@ protected:
|
| path.addRoundRect(temp, SkIntToScalar(3), SkIntToScalar(3));
|
| SkASSERT(path.isConvex());
|
|
|
| - canvas->clipPath(path,
|
| + canvas->legacyClipPath(path,
|
| 0 == depth ? SkRegion::kReplace_Op :
|
| SkRegion::kIntersect_Op,
|
| fDoAA);
|
|
|