Index: include/core/SkBitmap.h |
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
index 5406f9432887eaa1bda88ad5792511abfd97a09a..8b499097e9e030a5113f17839a729fbc03117dcb 100644 |
--- a/include/core/SkBitmap.h |
+++ b/include/core/SkBitmap.h |
@@ -86,6 +86,9 @@ |
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 |