Index: include/core/SkBitmap.h |
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
index 42ef8778bfcf05c66221a2bcff2ded6dec875c30..b6851def98a34e6af4ed9d735452b410fe4a7a20 100644 |
--- a/include/core/SkBitmap.h |
+++ b/include/core/SkBitmap.h |
@@ -897,4 +897,11 @@ inline SkPMColor SkBitmap::getIndex8Color(int x, int y) const { |
return (*fColorTable)[*((const uint8_t*)fPixels + y * fRowBytes + x)]; |
} |
+/////////////////////////////////////////////////////////////////////////////// |
+// |
+// Helpers until we can fully deprecate SkBitmap::Config |
+// |
+extern SkBitmap::Config SkColorTypeToBitmapConfig(SkColorType); |
+extern SkColorType SkBitmapConfigToColorType(SkBitmap::Config); |
+ |
#endif |