Index: third_party/WebKit/Source/platform/graphics/filters/FELighting.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FELighting.cpp b/third_party/WebKit/Source/platform/graphics/filters/FELighting.cpp |
index 39c7d4683f2aa0ce464bc278f09b6b203440aa18..39c0eed9dc0f48640896bd6c5c42328eb2af384f 100644 |
--- a/third_party/WebKit/Source/platform/graphics/filters/FELighting.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/filters/FELighting.cpp |
@@ -47,7 +47,7 @@ FELighting::FELighting(Filter* filter, LightingType lightingType, const Color& l |
, m_surfaceScale(surfaceScale) |
, m_diffuseConstant(std::max(diffuseConstant, 0.0f)) |
, m_specularConstant(std::max(specularConstant, 0.0f)) |
- , m_specularExponent(std::min(std::max(specularExponent, 1.0f), 128.0f)) |
+ , m_specularExponent(clampTo(specularExponent, 1.0f, 128.0f)) |
{ |
} |