Index: tests/ImageFilterTest.cpp |
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp |
index cfa7c6f79dd70520343457fb0040bac76f0f4186..fe14a52246e07d92288c29a3ce0a6ba092c66ef9 100644 |
--- a/tests/ImageFilterTest.cpp |
+++ b/tests/ImageFilterTest.cpp |
@@ -285,9 +285,7 @@ DEF_TEST(ImageFilterMatrixTest, reporter) { |
SkAutoTUnref<MatrixTestImageFilter> imageFilter( |
new MatrixTestImageFilter(reporter, expectedMatrix)); |
paint.setImageFilter(imageFilter.get()); |
- SkCanvas::SaveFlags saveFlags = static_cast<SkCanvas::SaveFlags>( |
- SkCanvas::kHasAlphaLayer_SaveFlag | SkCanvas::kFullColorLayer_SaveFlag); |
- recordingCanvas->saveLayer(NULL, &paint, saveFlags); |
+ recordingCanvas->saveLayer(NULL, &paint); |
SkPaint solidPaint; |
solidPaint.setColor(0xFFFFFFFF); |
recordingCanvas->save(); |