diff options
author | robertphillips <robertphillips@google.com> | 2016-02-16 12:09:36 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-16 12:09:37 -0800 |
commit | e8c34974c42b302d78c5cc8c7dcfb36956256baa (patch) | |
tree | 8c78743dbc236ebb3ca7407ccc29d3f6e89e4cf2 /src/core/SkSpecialSurface.h | |
parent | 2362c476ef4f05ae2d63c00834f2447480758b74 (diff) |
Change signature of SkSpecialImage::draw to take SkScalars
Review URL: https://codereview.chromium.org/1704603002
Diffstat (limited to 'src/core/SkSpecialSurface.h')
-rw-r--r-- | src/core/SkSpecialSurface.h | 2 |
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(); |