| 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 53d164f767ff63a047fd34d7541210992c2d3de0..680b43eab38cdf7753f9c95ee9e8220f266749ce 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/filters/FELighting.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/filters/FELighting.cpp
|
| @@ -46,7 +46,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))
|
| {
|
| }
|
|
|
|
|