diff options
author | reed <reed@google.com> | 2016-07-10 11:35:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-10 11:35:03 -0700 |
commit | 14dce6ed5934d7a6e1fac79f8e76e12f5670aae2 (patch) | |
tree | 12d660e3d38ed118faf4aa2635db4c52eed87627 /include/core/SkMatrix.h | |
parent | 4c42eebc55518019e6c2437e59adba28297221df (diff) |
change mapRectScaleTranslate to pass args/ret by value
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2137853002
TBR=mtklein
Review-Url: https://codereview.chromium.org/2137853002
Diffstat (limited to 'include/core/SkMatrix.h')
-rw-r--r-- | include/core/SkMatrix.h | 2 |
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 |