| Index: Source/wtf/text/WTFString.cpp
|
| diff --git a/Source/wtf/text/WTFString.cpp b/Source/wtf/text/WTFString.cpp
|
| index 9c6bfd8ab84b9f4fc2e18b6a600277f346239b53..1e6ac59ab1bb3620e3106ed63742be36571bc0f0 100644
|
| --- a/Source/wtf/text/WTFString.cpp
|
| +++ b/Source/wtf/text/WTFString.cpp
|
| @@ -681,7 +681,7 @@ void String::split(const String& separator, bool allowEmptyEntries, Vector<Strin
|
|
|
| unsigned startPos = 0;
|
| size_t endPos;
|
| - while ((endPos = find(separator, startPos)) != notFound) {
|
| + while ((endPos = find(separator, startPos)) != kNotFound) {
|
| if (allowEmptyEntries || startPos != endPos)
|
| result.append(substring(startPos, endPos - startPos));
|
| startPos = endPos + separator.length();
|
| @@ -696,7 +696,7 @@ void String::split(UChar separator, bool allowEmptyEntries, Vector<String>& resu
|
|
|
| unsigned startPos = 0;
|
| size_t endPos;
|
| - while ((endPos = find(separator, startPos)) != notFound) {
|
| + while ((endPos = find(separator, startPos)) != kNotFound) {
|
| if (allowEmptyEntries || startPos != endPos)
|
| result.append(substring(startPos, endPos - startPos));
|
| startPos = endPos + 1;
|
|
|