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

Unified Diff: third_party/WebKit/Source/platform/wtf/text/StringImpl.cpp

Issue 2919443002: Use IMMEDIATE_CRASH() instead of CRASH() directly (Closed)
Patch Set: Use IMMEDIATE_CRASH() instead of CRASH() directly Created 3 years, 7 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/wtf/text/StringImpl.cpp
diff --git a/third_party/WebKit/Source/platform/wtf/text/StringImpl.cpp b/third_party/WebKit/Source/platform/wtf/text/StringImpl.cpp
index 595bc04296ef7bd5741dafb35bd525954e864db4..10def1fa263122811298a84a9ecaad5c90fbb722 100644
--- a/third_party/WebKit/Source/platform/wtf/text/StringImpl.cpp
+++ b/third_party/WebKit/Source/platform/wtf/text/StringImpl.cpp
@@ -651,7 +651,7 @@ PassRefPtr<StringImpl> StringImpl::LowerUnicode(
return LowerUnicode();
if (length_ > static_cast<unsigned>(numeric_limits<int32_t>::max()))
- CRASH();
+ IMMEDIATE_CRASH();
int length = length_;
RefPtr<StringImpl> upconverted = UpconvertedString();
@@ -677,7 +677,7 @@ PassRefPtr<StringImpl> StringImpl::UpperUnicode(
return UpperUnicode();
if (length_ > static_cast<unsigned>(numeric_limits<int32_t>::max()))
- CRASH();
+ IMMEDIATE_CRASH();
int length = length_;
RefPtr<StringImpl> upconverted = UpconvertedString();

Powered by Google App Engine
This is Rietveld 408576698