| Index: gm/simpleaaclip.cpp
|
| diff --git a/gm/simpleaaclip.cpp b/gm/simpleaaclip.cpp
|
| index 950a1c025efada44bf2ce605cefac966a19d595f..4fbc3881f3695be41b44b1e3a9bcac8ad2b11fca 100644
|
| --- a/gm/simpleaaclip.cpp
|
| +++ b/gm/simpleaaclip.cpp
|
| @@ -104,12 +104,12 @@ protected:
|
| // create the clip mask with the supplied boolean op
|
| if (kPath_GeomType == fGeomType) {
|
| // path-based case
|
| - canvas->clipPath(fBasePath, SkRegion::kReplace_Op, true);
|
| - canvas->clipPath(fRectPath, op, true);
|
| + canvas->legacyClipPath(fBasePath, SkRegion::kReplace_Op, true);
|
| + canvas->legacyClipPath(fRectPath, op, true);
|
| } else {
|
| // rect-based case
|
| - canvas->clipRect(fBase, SkRegion::kReplace_Op, true);
|
| - canvas->clipRect(fRect, op, true);
|
| + canvas->legacyClipRect(fBase, SkRegion::kReplace_Op, true);
|
| + canvas->legacyClipRect(fRect, op, true);
|
| }
|
|
|
| // draw a rect that will entirely cover the clip mask area
|
|
|