| Index: samplecode/SampleFatBits.cpp
|
| diff --git a/samplecode/SampleFatBits.cpp b/samplecode/SampleFatBits.cpp
|
| index a1ef3ad3e7fa2269e620e5f03900d3c8e1798176..8da6058f9d468b82e7e239406b4a50c5934976ee 100644
|
| --- a/samplecode/SampleFatBits.cpp
|
| +++ b/samplecode/SampleFatBits.cpp
|
| @@ -258,7 +258,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, SkCanvas::kIntersect_Op, true);
|
| }
|
| fMinSurface->getCanvas()->drawLine(pts[0].fX, pts[0].fY, pts[1].fX, pts[1].fY, paint);
|
| if (fUseClip) {
|
|
|