From 708ec81d7a9bba12cd7e574b5c5ae80b2ad77919 Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Thu, 12 Oct 2017 15:33:28 -0400 Subject: move SkMatrix anonymous affine enum to private enum members aren't used by SkMatrix.h or by clients outside of Skia. R: reed@google.com, bungeman@google.com Bug: skia:6898 Change-Id: I6873b4106e5ffe354caf5ec18cc613910304fa13 Reviewed-on: https://skia-review.googlesource.com/59160 Reviewed-by: Mike Reed Reviewed-by: Ben Wagner Commit-Queue: Cary Clark --- tests/MatrixTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/MatrixTest.cpp') diff --git a/tests/MatrixTest.cpp b/tests/MatrixTest.cpp index 6f7a14fdc7..3e20f0b765 100644 --- a/tests/MatrixTest.cpp +++ b/tests/MatrixTest.cpp @@ -6,7 +6,7 @@ */ #include "SkMath.h" -#include "SkMatrix.h" +#include "SkMatrixPriv.h" #include "SkMatrixUtils.h" #include "SkRandom.h" #include "Test.h" @@ -912,7 +912,7 @@ DEF_TEST(Matrix, reporter) { SkScalar affine[6]; REPORTER_ASSERT(reporter, mat.asAffine(affine)); - #define affineEqual(e) affine[SkMatrix::kA##e] == mat.get(SkMatrix::kM##e) + #define affineEqual(e) affine[SkMatrixPriv::kA##e] == mat.get(SkMatrix::kM##e) REPORTER_ASSERT(reporter, affineEqual(ScaleX)); REPORTER_ASSERT(reporter, affineEqual(SkewY)); REPORTER_ASSERT(reporter, affineEqual(SkewX)); -- cgit v1.2.3