| Index: third_party/WebKit/Source/platform/fonts/GlyphBuffer.h
|
| diff --git a/third_party/WebKit/Source/platform/fonts/GlyphBuffer.h b/third_party/WebKit/Source/platform/fonts/GlyphBuffer.h
|
| index 5054a5f0fc987910591e7adf00b99b31242a804b..524b1b8a4169cd3c103818b24aed20894e8619e1 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/GlyphBuffer.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/GlyphBuffer.h
|
| @@ -133,7 +133,7 @@ class GlyphBuffer {
|
| // shaping, and adjust the initial advance accordingly -> should
|
| // yield correctly positioned RTL glyphs without any post-shape
|
| // munging).
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!m_offsets.isEmpty());
|
| + SECURITY_DCHECK(!m_offsets.isEmpty());
|
| for (unsigned i = 0; i + 1 < m_offsets.size(); ++i)
|
| m_offsets[i] = totalWidth - m_offsets[i + 1];
|
| m_offsets.last() = totalWidth - afterOffset;
|
|
|