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

Unified Diff: third_party/WebKit/Source/platform/text/QuotedPrintable.cpp

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/platform/text/QuotedPrintable.cpp
diff --git a/third_party/WebKit/Source/platform/text/QuotedPrintable.cpp b/third_party/WebKit/Source/platform/text/QuotedPrintable.cpp
index 377d5606472d616432c50e192cf501cfb93e1031..6189b29c6aa09767688cbe3741c69eef4b5f21d6 100644
--- a/third_party/WebKit/Source/platform/text/QuotedPrintable.cpp
+++ b/third_party/WebKit/Source/platform/text/QuotedPrintable.cpp
@@ -41,7 +41,7 @@ static const char crlfLineEnding[] = "\r\n";
static size_t lengthOfLineEndingAtIndex(const char* input,
size_t inputLength,
size_t index) {
- ASSERT_WITH_SECURITY_IMPLICATION(index < inputLength);
+ SECURITY_DCHECK(index < inputLength);
if (input[index] == '\n')
return 1; // Single LF.

Powered by Google App Engine
This is Rietveld 408576698