Index: include/core/SkBitmap.h |
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
index d87f01d2320b759f01fea4fbb138b7125d330fa9..552c5e6779632aa28295c95deddd3153650d6484 100644 |
--- a/include/core/SkBitmap.h |
+++ b/include/core/SkBitmap.h |
@@ -324,20 +324,6 @@ public: |
*/ |
bool installMaskPixels(const SkMask&); |
- /** |
- * DEPRECATED: call info(). |
- */ |
- bool asImageInfo(SkImageInfo* info) const { |
scroggo
2014/05/27 18:42:23
I support the change, but we're not quite ready fo
reed1
2014/05/27 19:48:41
Moved behind a guard.
|
- // compatibility: return false for kUnknown |
- if (kUnknown_SkColorType == this->colorType()) { |
- return false; |
- } |
- if (info) { |
- *info = this->info(); |
- } |
- return true; |
- } |
- |
/** Use this to assign a new pixel address for an existing bitmap. This |
will automatically release any pixelref previously installed. Only call |
this if you are handling ownership/lifetime of the pixel memory. |