| Index: Source/wtf/text/TextPosition.cpp
|
| diff --git a/Source/wtf/text/TextPosition.cpp b/Source/wtf/text/TextPosition.cpp
|
| index a44c24bf05039edd1c24066875ab7c68a2d7515e..34e6875e9d452d7f9bd183857f9972b91d87223d 100644
|
| --- a/Source/wtf/text/TextPosition.cpp
|
| +++ b/Source/wtf/text/TextPosition.cpp
|
| @@ -37,7 +37,7 @@ PassOwnPtr<Vector<unsigned> > lineEndings(const String& text)
|
| unsigned start = 0;
|
| while (start < text.length()) {
|
| size_t lineEnd = text.find('\n', start);
|
| - if (lineEnd == notFound)
|
| + if (lineEnd == kNotFound)
|
| break;
|
|
|
| result->append(static_cast<unsigned>(lineEnd));
|
|
|