diff options
author | Nigel Tao <nigeltao@google.com> | 2018-07-28 17:12:35 +1000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-30 18:14:38 +0000 |
commit | 70039d8c96085001ac59ff28c4bde476c8fd30cf (patch) | |
tree | 65bde6146401a5e5dc6339375e5bf411912e78ba /src/effects | |
parent | 62501c12c83e3cc01d4268edb094c86a656eab73 (diff) |
Remove SkFastMin32
SkFastMin32 has been the same as SkMin32 since commit 38bad32cf52 "fold
SK_CPU_HAS_CONDITION_INSTR through as always defined" was submitted in
July 2013 as per https://chromiumcodereview.appspot.com/21122005
TBR=hcm@google.com
The only change to the public API is removing a redundant helper from
SkTypes.h
Bug: skia:
Change-Id: Ic6f7c7dc5612e8b7b1be3923f572ffcc13555d75
Reviewed-on: https://skia-review.googlesource.com/144242
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/SkEmbossMask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkEmbossMask.cpp b/src/effects/SkEmbossMask.cpp index d4e3741392..c45745db57 100644 --- a/src/effects/SkEmbossMask.cpp +++ b/src/effects/SkEmbossMask.cpp @@ -80,7 +80,7 @@ void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) int denom = SkSqrt32(nx * nx + ny * ny + kDelta*kDelta); SkFixed dot = numer / denom; dot >>= 8; // now dot is 2^8 instead of 2^16 - mul = SkFastMin32(mul + dot, 255); + mul = SkMin32(mul + dot, 255); // now for the reflection |