From 44320dda9495b9cf8ff8a5ea4f9d9522edeabef6 Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Fri, 7 Apr 2017 19:57:30 -0400 Subject: [PATCH] remove obsolete SK_SUPPORT_LEGACY_SCALARMUL code Bug: skia: Change-Id: Ifdff1af7fc6b8cd6db77e4afd9794b11011cc31e Reviewed-on: https://skia-review.googlesource.com/12242 Reviewed-by: Mike Reed Commit-Queue: Mike Reed --- include/core/SkScalar.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/core/SkScalar.h b/include/core/SkScalar.h index 0dd968c..2c409c4 100644 --- a/include/core/SkScalar.h +++ b/include/core/SkScalar.h @@ -215,10 +215,4 @@ static inline bool SkScalarsEqual(const SkScalar a[], const SkScalar b[], int n) return true; } -#ifdef SK_SUPPORT_LEGACY_SCALARMUL - #define SkScalarMul(a, b) ((SkScalar)(a) * (b)) - #define SkScalarMulAdd(a, b, c) ((SkScalar)(a) * (b) + (c)) - #define SkScalarMulDiv(a, b, c) ((SkScalar)(a) * (b) / (c)) -#endif - #endif -- 2.7.4