Index: samplecode/SampleDitherBitmap.cpp |
diff --git a/samplecode/SampleDitherBitmap.cpp b/samplecode/SampleDitherBitmap.cpp |
index d6d15e9887749e87c6b8a18dd4dee40f8ddcffa5..a3ebafa29602ee024d66c190e22a5fbeca514dd8 100644 |
--- a/samplecode/SampleDitherBitmap.cpp |
+++ b/samplecode/SampleDitherBitmap.cpp |
@@ -84,7 +84,7 @@ public: |
DitherBitmapView() { |
fResult = test_pathregion(); |
fBM8 = make_bitmap(); |
- fBM8.copyTo(&fBM32, SkBitmap::kARGB_8888_Config); |
+ fBM8.copyTo(&fBM32, kPMColor_SkColorType); |
this->setBGColor(0xFFDDDDDD); |
} |