Index: third_party/WebKit/Source/platform/wtf/text/TextCodecUTF8.cpp |
diff --git a/third_party/WebKit/Source/platform/wtf/text/TextCodecUTF8.cpp b/third_party/WebKit/Source/platform/wtf/text/TextCodecUTF8.cpp |
index 32b21a7f535d9985d3eee9ac59cd351429b40adf..55f0ce5834fd0ca8f9173d15ab70121b3538c997 100644 |
--- a/third_party/WebKit/Source/platform/wtf/text/TextCodecUTF8.cpp |
+++ b/third_party/WebKit/Source/platform/wtf/text/TextCodecUTF8.cpp |
@@ -464,7 +464,7 @@ CString TextCodecUTF8::EncodeCommon(const CharType* characters, size_t length) { |
// Non-BMP characters take two UTF-16 code units and can take up to 4 bytes |
// (2x). |
if (length > std::numeric_limits<size_t>::max() / 3) |
- CRASH(); |
+ IMMEDIATE_CRASH(); |
Vector<uint8_t> bytes(length * 3); |
size_t i = 0; |