aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkMatrix.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-07-10 11:35:03 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-10 11:35:03 -0700
commit14dce6ed5934d7a6e1fac79f8e76e12f5670aae2 (patch)
tree12d660e3d38ed118faf4aa2635db4c52eed87627 /include/core/SkMatrix.h
parent4c42eebc55518019e6c2437e59adba28297221df (diff)
change mapRectScaleTranslate to pass args/ret by value
Diffstat (limited to 'include/core/SkMatrix.h')
-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