Index: include/core/SkImageGenerator.h |
diff --git a/include/core/SkImageGenerator.h b/include/core/SkImageGenerator.h |
index d56f8f8bbbad311e9aa58f8285b5d52781d24a48..220973a0f852fae56fe93d9d70a88edc143ae2ea 100644 |
--- a/include/core/SkImageGenerator.h |
+++ b/include/core/SkImageGenerator.h |
@@ -21,6 +21,8 @@ class SkImageGenerator; |
* the generator. If it succeeds, it will modify destination |
* bitmap. |
* |
+ * If generator is NULL, will safely return false. |
+ * |
* If this fails or when the SkDiscardablePixelRef that is |
* installed into destination is destroyed, it will call |
* SkDELETE() on the generator. Therefore, generator should be |