| Index: third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| index 8753bc158fe62257cb037b77494acbbdc843f128..48b8a3dfc972c01a257dccf763abe26da10a41cb 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -109,9 +109,7 @@ static void MakeCapitalized(String* string, UChar previous) {
|
| unsigned length = string->length();
|
| const StringImpl& input = *string->Impl();
|
|
|
| - if (length >= std::numeric_limits<unsigned>::max())
|
| - IMMEDIATE_CRASH();
|
| -
|
| + LOG_IF(FATAL, length >= std::numeric_limits<unsigned>::max());
|
| StringBuffer<UChar> string_with_previous(length + 1);
|
| string_with_previous[0] =
|
| previous == kNoBreakSpaceCharacter ? kSpaceCharacter : previous;
|
|
|