| Index: samplecode/SampleIdentityScale.cpp
|
| diff --git a/samplecode/SampleIdentityScale.cpp b/samplecode/SampleIdentityScale.cpp
|
| index a6b5c5ce226335f30de2d272d007386f7ac501ca..4c222c8ab0b1511c24ec1978ad1d1b0bfff24f87 100644
|
| --- a/samplecode/SampleIdentityScale.cpp
|
| +++ b/samplecode/SampleIdentityScale.cpp
|
| @@ -73,7 +73,7 @@ protected:
|
| SkRect r = { 100, 100, 356, 356 };
|
| SkPath clipPath;
|
| clipPath.addRoundRect(r, SkIntToScalar(5), SkIntToScalar(5));
|
| - canvas->clipPath(clipPath, SkRegion::kIntersect_Op, SkToBool(1));
|
| + canvas->clipPath(clipPath, kIntersect_SkClipOp, true);
|
| text = "Scaled = 0";
|
| }
|
| canvas->drawBitmap( fBM, 100, 100, &paint );
|
|
|