Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index abd0a636fffda6b9b8afe6193b9723450c8f3706..6b94dd635c3edd869a7d3709399ca7fb8b13e3d7 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -363,9 +363,11 @@ protected: |
const SkImageFilter::Context& ctx, |
SkBitmap* result, SkIPoint* offset) = 0; |
+#ifdef SK_SUPPORT_LEGACY_CONFIG8888 |
// This is equal kBGRA_Premul_Config8888 or kRGBA_Premul_Config8888 if |
// either is identical to kNative_Premul_Config8888. Otherwise, -1. |
static const SkCanvas::Config8888 kPMColorAlias; |
+#endif |
protected: |
// default impl returns NULL |