Index: samplecode/SampleLayers.cpp |
diff --git a/samplecode/SampleLayers.cpp b/samplecode/SampleLayers.cpp |
index f72c519faf052b9652e4f7e3c555739a71ff6322..483943d5d4c5b690092fa8601c4df465917c957c 100644 |
--- a/samplecode/SampleLayers.cpp |
+++ b/samplecode/SampleLayers.cpp |
@@ -61,7 +61,7 @@ static void test_fade(SkCanvas* canvas) { |
SkPaint p; |
p.setAlpha(0x88); |
- SkAutoCanvasRestore(canvas, false); |
+ SkAutoCanvasRestore ar2(canvas, false); |
// create the layers |