Index: src/effects/SkColorFilters.cpp |
diff --git a/src/effects/SkColorFilters.cpp b/src/effects/SkColorFilters.cpp |
index a048abca6b96454186ac9b0e48d68baa99121185..65766c1fc850a9a43da6f8159b72a8180717b64e 100644 |
--- a/src/effects/SkColorFilters.cpp |
+++ b/src/effects/SkColorFilters.cpp |
@@ -305,7 +305,7 @@ namespace { |
* to which direction the 0.5 goes. |
*/ |
static inline int color_component_to_int(float value) { |
- return sk_float_round2int(GrMax(0.f, GrMin(1.f, value)) * 255.f); |
+ return sk_float_round2int(SkTMax(0.f, SkTMin(1.f, value)) * 255.f); |
} |
/** MaskedColorExpr is used to evaluate the color and valid color component flags through the |