Index: src/core/SkImageInfo.cpp |
diff --git a/src/core/SkImageInfo.cpp b/src/core/SkImageInfo.cpp |
index 948575482362410f65fc3eef09be8e7927921b7b..ee169239ef0867fe8c45662489d711800924bdd5 100644 |
--- a/src/core/SkImageInfo.cpp |
+++ b/src/core/SkImageInfo.cpp |
@@ -6,7 +6,6 @@ |
*/ |
#include "SkImageInfo.h" |
-#include "SkImageInfoPriv.h" |
#include "SkReadBuffer.h" |
#include "SkWriteBuffer.h" |
@@ -61,14 +60,6 @@ SkColorProfileType SkImageInfo::profileType() const { |
} |
#endif |
-// Indicate how images and gradients should interpret colors by default. |
-bool gDefaultProfileIsSRGB; |
- |
-SkColorProfileType SkDefaultColorProfile() { |
- return gDefaultProfileIsSRGB ? kSRGB_SkColorProfileType |
- : kLinear_SkColorProfileType; |
-} |
- |
static bool alpha_type_is_valid(SkAlphaType alphaType) { |
return (alphaType >= 0) && (alphaType <= kLastEnum_SkAlphaType); |
} |