aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkSpecialSurface.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-02-16 12:09:36 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-16 12:09:37 -0800
commite8c34974c42b302d78c5cc8c7dcfb36956256baa (patch)
tree8c78743dbc236ebb3ca7407ccc29d3f6e89e4cf2 /src/core/SkSpecialSurface.h
parent2362c476ef4f05ae2d63c00834f2447480758b74 (diff)
Change signature of SkSpecialImage::draw to take SkScalars
Diffstat (limited to 'src/core/SkSpecialSurface.h')
-rw-r--r--src/core/SkSpecialSurface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/SkSpecialSurface.h b/src/core/SkSpecialSurface.h
index 2751c4a794..216ef3f41e 100644
--- a/src/core/SkSpecialSurface.h
+++ b/src/core/SkSpecialSurface.h
@@ -45,6 +45,8 @@ public:
* Returns an image of the current state of the surface pixels up to this
* point. The canvas returned by 'getCanvas' becomes invalidated by this
* call and no more drawing to this surface is allowed.
+ *
+ * Note: the caller inherits a ref from this call that must be balanced
*/
SkSpecialImage* newImageSnapshot();