| Index: third_party/WebKit/Source/platform/wtf/text/StringOperators.h
|
| diff --git a/third_party/WebKit/Source/platform/wtf/text/StringOperators.h b/third_party/WebKit/Source/platform/wtf/text/StringOperators.h
|
| index d7d8bba0804ba22d56dbf9b3425722fc028af5b0..98e6a0181ef3b92fcc2386395db0df1b88304a27 100644
|
| --- a/third_party/WebKit/Source/platform/wtf/text/StringOperators.h
|
| +++ b/third_party/WebKit/Source/platform/wtf/text/StringOperators.h
|
| @@ -104,7 +104,8 @@ unsigned StringAppend<StringType1, StringType2>::length() const {
|
| StringTypeAdapter<StringType2> adapter2(string2_);
|
| unsigned total = adapter1.length() + adapter2.length();
|
| // Guard against overflow.
|
| - RELEASE_ASSERT(total >= adapter1.length() && total >= adapter2.length());
|
| + CHECK_GE(total, adapter1.length());
|
| + CHECK_GE(total, adapter2.length());
|
| return total;
|
| }
|
|
|
|
|