| Index: third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp
|
| index cbaebda358615c27d1986d0d6ef5d73659ef3543..336e5976e3797fb971e925ff59f845756f772149 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp
|
| @@ -122,7 +122,7 @@ bool FEConvolveMatrix::parametersValid() const
|
| if (m_kernelSize.isEmpty())
|
| return false;
|
| uint64_t kernelArea = m_kernelSize.area();
|
| - if (!WTF::isInBounds<int>(kernelArea))
|
| + if (!WTF::CheckedNumeric<int>(kernelArea).IsValid())
|
| return false;
|
| if (safeCast<size_t>(kernelArea) != m_kernelMatrix.size())
|
| return false;
|
|
|