Index: include/core/SkBitmap.h |
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
index 64f2e241337a5d8d9a75b34196963141215b4208..16f54b11090c3b392c193dfb094af4bcbef5f673 100644 |
--- a/include/core/SkBitmap.h |
+++ b/include/core/SkBitmap.h |
@@ -189,11 +189,6 @@ public: |
return SkAlphaTypeIsOpaque(this->alphaType()); |
} |
- SK_ATTR_DEPRECATED("use setAlphaType") |
- void setIsOpaque(bool opaque) { |
- this->setAlphaType(opaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); |
- } |
- |
/** Returns true if the bitmap is volatile (i.e. should not be cached by devices.) |
*/ |
bool isVolatile() const; |
@@ -238,8 +233,8 @@ public: |
* it will return false. |
* |
* Since this can be an expensive operation, the bitmap stores a flag for |
- * this (isOpaque, setIsOpaque). Only call this if you need to compute this |
- * value from "unknown" pixels. |
+ * this (isOpaque). Only call this if you need to compute this value from |
+ * "unknown" pixels. |
*/ |
static bool ComputeIsOpaque(const SkBitmap&); |