Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1467)

Unified Diff: third_party/WebKit/Source/wtf/text/StringImpl.h

Issue 2458003002: Remove ASSERT_WITH_SECURITY_IMPLICATION. (Closed)
Patch Set: Minor formatting fix Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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];
« no previous file with comments | « third_party/WebKit/Source/wtf/text/StringBuilder.h ('k') | third_party/WebKit/Source/wtf/text/TextCodecUTF8.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698