diff options
author | 2015-03-19 11:37:18 -0700 | |
---|---|---|
committer | 2015-03-19 11:37:18 -0700 | |
commit | a402e7654d2ce6a43f44a9e6e0ef44ca9ff12afa (patch) | |
tree | a3e313fb8a187d8deff2924d53c7c36ab854e7ab /src/core/SkBitmapProcState.cpp | |
parent | 24ba00825092be0d400074e0121ffc7221950dd9 (diff) |
remove unneeded SK_SUPPORT_LEGACY_MIPMAP_EFFECTIVE_SCALE guard
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/1019343002
Diffstat (limited to 'src/core/SkBitmapProcState.cpp')
-rw-r--r-- | src/core/SkBitmapProcState.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/SkBitmapProcState.cpp b/src/core/SkBitmapProcState.cpp index 69c2ea19be..720a30f05c 100644 --- a/src/core/SkBitmapProcState.cpp +++ b/src/core/SkBitmapProcState.cpp @@ -101,11 +101,7 @@ static bool valid_for_filtering(unsigned dimension) { static SkScalar effective_matrix_scale(const SkMatrix& mat) { SkScalar dx = SkVector::Length(mat.getScaleX(), mat.getSkewY()); SkScalar dy = SkVector::Length(mat.getSkewX(), mat.getScaleY()); -#ifdef SK_SUPPORT_LEGACY_MIPMAP_EFFECTIVE_SCALE - return SkMaxScalar(dx, dy); -#else return SkScalarSqrt(dx * dy); -#endif } // Check to see that the size of the bitmap that would be produced by |