| Index: third_party/WebKit/Source/wtf/text/StringImpl.h
|
| diff --git a/third_party/WebKit/Source/wtf/text/StringImpl.h b/third_party/WebKit/Source/wtf/text/StringImpl.h
|
| index 9ad5c6493396536c19dbba00e8417edb591e1e82..2df9c7ea03b19b9f0f04704fdfbef63cfd819aef 100644
|
| --- a/third_party/WebKit/Source/wtf/text/StringImpl.h
|
| +++ b/third_party/WebKit/Source/wtf/text/StringImpl.h
|
| @@ -319,7 +319,7 @@ class WTF_EXPORT StringImpl {
|
| PassRefPtr<StringImpl> substring(unsigned pos, unsigned len = UINT_MAX);
|
|
|
| UChar operator[](unsigned i) const {
|
| - ASSERT_WITH_SECURITY_IMPLICATION(i < m_length);
|
| + SECURITY_DCHECK(i < m_length);
|
| if (is8Bit())
|
| return characters8()[i];
|
| return characters16()[i];
|
|
|