aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleIdentityScale.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleIdentityScale.cpp')
-rw-r--r--samplecode/SampleIdentityScale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleIdentityScale.cpp b/samplecode/SampleIdentityScale.cpp
index 8d1bc36991..ae6092ac89 100644
--- a/samplecode/SampleIdentityScale.cpp
+++ b/samplecode/SampleIdentityScale.cpp
@@ -65,7 +65,7 @@ protected:
SkRect r = { 100, 100, 356, 356 };
SkPath clipPath;
clipPath.addRoundRect(r, SkIntToScalar(5), SkIntToScalar(5));
- canvas->clipPath(clipPath, SkCanvas::kIntersect_Op, SkToBool(1));
+ canvas->clipPath(clipPath, kIntersect_SkClipOp, true);
text = "Scaled = 0";
}
canvas->drawBitmap( fBM, 100, 100, &paint );