Index: samplecode/SampleLayerMask.cpp |
diff --git a/samplecode/SampleLayerMask.cpp b/samplecode/SampleLayerMask.cpp |
index b3bbac622fd03fd22293d28b07fe45b5262ea211..86a092cd06ecce8969227d28e3ce4bd4d5a18838 100644 |
--- a/samplecode/SampleLayerMask.cpp |
+++ b/samplecode/SampleLayerMask.cpp |
@@ -57,7 +57,7 @@ protected: |
virtual void onDrawContent(SkCanvas* canvas) { |
SkRect r; |
r.set(SkIntToScalar(20), SkIntToScalar(20), SkIntToScalar(120), SkIntToScalar(120)); |
- canvas->saveLayer(&r, NULL, SkCanvas::kARGB_ClipLayer_SaveFlag); |
+ canvas->saveLayer(&r, NULL); |
canvas->drawColor(SK_ColorRED); |
drawMask(canvas, r); |
canvas->restore(); |