From 8b1fa6dd8d9c573d535dc5c427d71e0cabcc5747 Mon Sep 17 00:00:00 2001 From: robertphillips Date: Fri, 19 Jun 2015 06:40:02 -0700 Subject: Fix precision error in https://codereview.chromium.org/1188433011/ TBR=reed@google.com Review URL: https://codereview.chromium.org/1192853002 --- include/core/SkMatrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h index fa7a63a4e8..dc482b888e 100644 --- a/include/core/SkMatrix.h +++ b/include/core/SkMatrix.h @@ -723,7 +723,7 @@ private: */ bool isFinite() const; - static void ComputeInv(SkScalar dst[9], const SkScalar src[9], SkScalar invDet, bool isPersp); + static void ComputeInv(SkScalar dst[9], const SkScalar src[9], double invDet, bool isPersp); void setScaleTranslate(SkScalar sx, SkScalar sy, SkScalar tx, SkScalar ty) { fMat[kMScaleX] = sx; -- cgit v1.2.3