| 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 d66b38ae71e3ac99b7656dfdf2a64da6bb225934..cbaebda358615c27d1986d0d6ef5d73659ef3543 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp
|
| @@ -27,7 +27,6 @@
|
| #include "SkMatrixConvolutionImageFilter.h"
|
| #include "platform/graphics/filters/SkiaImageFilterBuilder.h"
|
| #include "platform/text/TextStream.h"
|
| -#include "wtf/CheckedNumeric.h"
|
| #include "wtf/OwnPtr.h"
|
|
|
| namespace blink {
|
| @@ -123,7 +122,7 @@
|
| if (m_kernelSize.isEmpty())
|
| return false;
|
| uint64_t kernelArea = m_kernelSize.area();
|
| - if (!CheckedNumeric<int>(kernelArea).IsValid())
|
| + if (!WTF::isInBounds<int>(kernelArea))
|
| return false;
|
| if (safeCast<size_t>(kernelArea) != m_kernelMatrix.size())
|
| return false;
|
|
|