Index: include/core/SkShader.h |
diff --git a/include/core/SkShader.h b/include/core/SkShader.h |
index 076ecf5460df9698021913279f6d13f5e3280179..6566e691a42bd9cb5f786fa688b0f000c502acc0 100644 |
--- a/include/core/SkShader.h |
+++ b/include/core/SkShader.h |
@@ -349,7 +349,9 @@ public: |
/** Call this to create a new shader that will draw with the specified picture. |
* |
* @param src The picture to use inside the shader (if not NULL, its ref count |
- * is incremented). |
+ * is incremented). The SkPicture must not be changed after |
+ * successfully creating a picture shader. |
+ * FIXME: src cannot be const due to SkCanvas::drawPicture |
* @param tmx The tiling mode to use when sampling the bitmap in the x-direction. |
* @param tmy The tiling mode to use when sampling the bitmap in the y-direction. |
* @return Returns a new shader object. Note: this function never returns null. |