Index: samplecode/SampleIdentityScale.cpp |
diff --git a/samplecode/SampleIdentityScale.cpp b/samplecode/SampleIdentityScale.cpp |
index b6af3ce34fd13f8174fddf26e4ee4ae6ff818a16..8d1bc369911c590572149949b16fb32600773770 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, SkRegion::kIntersect_Op, SkToBool(1)); |
+ canvas->clipPath(clipPath, SkCanvas::kIntersect_Op, SkToBool(1)); |
text = "Scaled = 0"; |
} |
canvas->drawBitmap( fBM, 100, 100, &paint ); |