Index: include/core/SkBitmap.h |
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
index b28eca817e840e5ef5da730044eb683e66efee22..8b499097e9e030a5113f17839a729fbc03117dcb 100644 |
--- a/include/core/SkBitmap.h |
+++ b/include/core/SkBitmap.h |
@@ -86,7 +86,9 @@ public: |
SkColorType colorType() const { return fInfo.colorType(); } |
SkAlphaType alphaType() const { return fInfo.alphaType(); } |
SkColorSpace* colorSpace() const { return fInfo.colorSpace(); } |
+#ifdef SK_SUPPORT_LEGACY_COLORPROFILETYPE |
SkColorProfileType profileType() const { return fInfo.profileType(); } |
+#endif |
/** |
* Return the number of bytes per pixel based on the colortype. If the colortype is |