Index: src/core/SkImageInfo.cpp |
diff --git a/src/core/SkImageInfo.cpp b/src/core/SkImageInfo.cpp |
index ba418d519840d036f64f3e7173d3fcaff8796ac7..b3b9c385d8a13eaf14fe78d11f8393c07bb924ed 100644 |
--- a/src/core/SkImageInfo.cpp |
+++ b/src/core/SkImageInfo.cpp |
@@ -9,13 +9,6 @@ |
#include "SkReadBuffer.h" |
#include "SkWriteBuffer.h" |
-#ifdef SK_SUPPORT_LEGACY_COLORPROFILETYPE |
-SkColorProfileType SkImageInfo::profileType() const { |
- return fColorSpace && fColorSpace->gammaCloseToSRGB() |
- ? kSRGB_SkColorProfileType : kLinear_SkColorProfileType; |
-} |
-#endif |
- |
static bool alpha_type_is_valid(SkAlphaType alphaType) { |
return (alphaType >= 0) && (alphaType <= kLastEnum_SkAlphaType); |
} |