From c5769b2e49a63516f313f42969983f2b9e4d59e0 Mon Sep 17 00:00:00 2001 From: halcanary Date: Wed, 10 Aug 2016 07:13:21 -0700 Subject: Revert of Change mapRectScaleTranslate to pass args/ret by value (patchset #2 id:20001 of https://codereview.chromium.org/2138943002/ ) Reason for revert: Build-Ubuntu-GCC-Arm7-Release-Android fails. Original issue's description: > Change mapRectScaleTranslate to pass args/ret by value > > This reverts commit 6092b6e0e57be20d2e1ad079c0af133d2f67bfd3. > > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2138943002 > > Committed: https://skia.googlesource.com/skia/+/1bd13ca922d6448d595064faee486eaf3fa56e56 TBR=mtklein@google.com,msarett@google.com,reed@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review-Url: https://codereview.chromium.org/2234843002 --- bench/MatrixBench.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bench/MatrixBench.cpp') diff --git a/bench/MatrixBench.cpp b/bench/MatrixBench.cpp index 185ea7924c..53e7296731 100644 --- a/bench/MatrixBench.cpp +++ b/bench/MatrixBench.cpp @@ -320,7 +320,7 @@ public: SkRect dst; if (fScaleTrans) { for (int i = 0; i < MEGA_LOOP; ++i) { - dst = fM.mapRectScaleTranslate(fR); + fM.mapRectScaleTranslate(&dst, fR); } } else { for (int i = 0; i < MEGA_LOOP; ++i) { -- cgit v1.2.3