| Index: gm/simpleaaclip.cpp
|
| diff --git a/gm/simpleaaclip.cpp b/gm/simpleaaclip.cpp
|
| index 950a1c025efada44bf2ce605cefac966a19d595f..3e906e78c39a6a86b80299e71c43df3bbae63f21 100644
|
| --- a/gm/simpleaaclip.cpp
|
| +++ b/gm/simpleaaclip.cpp
|
| @@ -49,7 +49,10 @@ public:
|
|
|
| SimpleClipGM(SkGeomTypes geomType)
|
| : fGeomType(geomType) {
|
| + }
|
|
|
| +protected:
|
| + virtual void onceBeforeDraw() {
|
| // offset the rects a bit so we get anti-aliasing in the rect case
|
| fBase.set(100.65f,
|
| 100.65f,
|
| @@ -64,7 +67,6 @@ public:
|
| INHERITED::setBGColor(0xFFDDDDDD);
|
| }
|
|
|
| -protected:
|
| void buildRgn(SkAAClip* clip, SkRegion::Op op) {
|
| clip->setPath(fBasePath, NULL, true);
|
|
|
|
|