Index: src/codec/SkCodecPriv.h |
diff --git a/src/codec/SkCodecPriv.h b/src/codec/SkCodecPriv.h |
index a0e5c9490038c500e873d344a5b1bbd3f407383f..7c57a9fe773190bd3add08e44d02485516f70803 100644 |
--- a/src/codec/SkCodecPriv.h |
+++ b/src/codec/SkCodecPriv.h |
@@ -65,15 +65,6 @@ static inline size_t compute_row_bytes(int width, uint32_t bitsPerPixel) { |
/* |
* |
- * Checks if alpha types are premul and unpremul |
- * |
- */ |
-static inline bool premul_and_unpremul(SkAlphaType dst, SkAlphaType src) { |
- return kPremul_SkAlphaType == dst && kUnpremul_SkAlphaType == src; |
-} |
- |
-/* |
- * |
* Get a byte from a buffer |
* This method is unsafe, the caller is responsible for performing a check |
* |