Index: samplecode/SampleLayers.cpp |
diff --git a/samplecode/SampleLayers.cpp b/samplecode/SampleLayers.cpp |
index 43869762e723c21145a5c5c277281a42b8ab190b..52e6593a85f1e0f1975dbee6cab6affc01c343f2 100644 |
--- a/samplecode/SampleLayers.cpp |
+++ b/samplecode/SampleLayers.cpp |
@@ -255,7 +255,7 @@ protected: |
m.postTranslate(fCenter.x(), fCenter.y()); |
path.transform(m); |
- canvas->clipPath(path, SkRegion::kIntersect_Op, true); |
+ canvas->clipPath(path, SkCanvas::kIntersect_Op, true); |
const SkRect bounds = path.getBounds(); |
SkPaint paint; |