Index: src/effects/SkTableMaskFilter.cpp |
diff --git a/src/effects/SkTableMaskFilter.cpp b/src/effects/SkTableMaskFilter.cpp |
index 999b998e32068264b430d862ec65f269ce495438..88484d709126e6aee0c4aa083be645af4f967fd8 100644 |
--- a/src/effects/SkTableMaskFilter.cpp |
+++ b/src/effects/SkTableMaskFilter.cpp |
@@ -91,7 +91,7 @@ void SkTableMaskFilter::MakeGammaTable(uint8_t table[256], SkScalar gamma) { |
float x = 0; |
for (int i = 0; i < 256; i++) { |
// float ee = powf(x, g) * 255; |
- table[i] = SkPin32(sk_float_round2int(powf(x, g) * 255), 0, 255); |
+ table[i] = SkTPin(sk_float_round2int(powf(x, g) * 255), 0, 255); |
x += dx; |
} |
} |