aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-08-10 06:17:54 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-10 06:17:54 -0700
commit1bd13ca922d6448d595064faee486eaf3fa56e56 (patch)
tree4f13ceebcc47a2dd3547c1b6ecead2f57fe56632 /include/core
parent69cfa9c28dc847a813644c6a1f7ba034419601b6 (diff)
Change mapRectScaleTranslate to pass args/ret by value
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkMatrix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h
index 5b22a77481..8f70d4c91b 100644
--- a/include/core/SkMatrix.h
+++ b/include/core/SkMatrix.h
@@ -565,7 +565,7 @@ public:
* Maps a rect to another rect, asserting (in debug mode) that the matrix only contains
* scale and translate elements. If it contains other elements, the results are undefined.
*/
- void mapRectScaleTranslate(SkRect* dst, const SkRect& src) const;
+ SkRect mapRectScaleTranslate(SkRect src) const;
/** Return the mean radius of a circle after it has been mapped by
this matrix. NOTE: in perspective this value assumes the circle