Index: include/gpu/SkGr.h |
diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h |
index 2f8867950323d17752b358c170515c144fe0497f..cd5fabfde1a32a5f1037b2d50a62a705df32a324 100644 |
--- a/include/gpu/SkGr.h |
+++ b/include/gpu/SkGr.h |
@@ -44,13 +44,6 @@ GR_STATIC_ASSERT((int)kIDA_GrBlendCoeff == (int)SkXfermode::kIDA_Coeff); |
#include "SkColorPriv.h" |
-#ifdef SK_SUPPORT_LEGACY_BITMAP_CONFIG |
-/** |
- * Convert the SkBitmap::Config to the corresponding PixelConfig, or |
- * kUnknown_PixelConfig if the conversion cannot be done. |
- */ |
-GrPixelConfig SkBitmapConfig2GrPixelConfig(SkBitmap::Config); |
-#endif |
GrPixelConfig SkImageInfo2GrPixelConfig(SkColorType, SkAlphaType); |
static inline GrPixelConfig SkImageInfo2GrPixelConfig(const SkImageInfo& info) { |