Index: include/core/SkBitmap.h |
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
index 124525e249ea9ca2be333168fd8598acb822015d..ad185479801c8b71d66c7e7381412a3be5ab13e8 100644 |
--- a/include/core/SkBitmap.h |
+++ b/include/core/SkBitmap.h |
@@ -371,7 +371,9 @@ public: |
*/ |
SkGpuTexture* getTexture() const; |
- /** Return the bitmap's colortable (if any). Does not affect the colortable's |
+ /** Return the bitmap's colortable, if it uses one (i.e. fConfig is |
+ kIndex8_Config or kRLE_Index8_Config) and the pixels are locked. |
+ Otherwise returns NULL. Does not affect the colortable's |
reference count. |
*/ |
SkColorTable* getColorTable() const { return fColorTable; } |