Index: samplecode/SampleTextAlpha.cpp |
diff --git a/samplecode/SampleTextAlpha.cpp b/samplecode/SampleTextAlpha.cpp |
index 83616f42602ceac91fc44df3d8d607cac6b94cd1..2732452c82b5f5e2a774b05ff7178f0025ca0cd0 100644 |
--- a/samplecode/SampleTextAlpha.cpp |
+++ b/samplecode/SampleTextAlpha.cpp |
@@ -29,7 +29,7 @@ |
#include "SkStream.h" |
static void check_for_nonwhite(const SkBitmap& bm, int alpha) { |
- if (bm.config() != SkBitmap::kRGB_565_Config) { |
+ if (bm.colorType() != kRGB_565_SkColorType) { |
return; |
} |