aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkDevice.h')
-rw-r--r--include/core/SkDevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index abd0a636ff..6b94dd635c 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