| Index: third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.h b/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.h
|
| index 315e7dea3f77e867ccb9a37b8e871094b0c14182..2ca8b29f1855ae0711df7342726ea5cffa9d61d3 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.h
|
| @@ -45,7 +45,7 @@ class SVGPathByteStreamSource {
|
| DataType readType() {
|
| ByteType<DataType> data;
|
| size_t typeSize = sizeof(ByteType<DataType>);
|
| - ASSERT(m_streamCurrent + typeSize <= m_streamEnd);
|
| + DCHECK_LE(m_streamCurrent + typeSize, m_streamEnd);
|
| memcpy(data.bytes, m_streamCurrent, typeSize);
|
| m_streamCurrent += typeSize;
|
| return data.value;
|
|
|