| Index: samplecode/SampleFatBits.cpp
|
| diff --git a/samplecode/SampleFatBits.cpp b/samplecode/SampleFatBits.cpp
|
| index c300733131d6fe358381be483791d6263ea89f8e..b44414efec78e730b91826036cbc57dabcc8d495 100644
|
| --- a/samplecode/SampleFatBits.cpp
|
| +++ b/samplecode/SampleFatBits.cpp
|
| @@ -285,7 +285,7 @@ void FatBits::drawLine(SkCanvas* canvas, SkPoint pts[]) {
|
| fMinSurface->getCanvas()->save();
|
| SkRect r = fClipRect;
|
| r.inset(SK_Scalar1/3, SK_Scalar1/3);
|
| - fMinSurface->getCanvas()->clipRect(r, SkRegion::kIntersect_Op, true);
|
| + fMinSurface->getCanvas()->clipRect(r, kIntersect_SkClipOp, true);
|
| }
|
| fMinSurface->getCanvas()->drawLine(pts[0].fX, pts[0].fY, pts[1].fX, pts[1].fY, paint);
|
| if (fUseClip) {
|
|
|