| Index: Source/core/editing/TextIterator.cpp
|
| diff --git a/Source/core/editing/TextIterator.cpp b/Source/core/editing/TextIterator.cpp
|
| index 2b4b8e5583b640626ce5d7c0b918d8d8fc7b57b6..668fde6021b1780b8f3ae6c30eeacf324096899c 100644
|
| --- a/Source/core/editing/TextIterator.cpp
|
| +++ b/Source/core/editing/TextIterator.cpp
|
| @@ -586,7 +586,7 @@ void TextIterator::handleTextBox()
|
| m_offset = runStart + 1;
|
| } else {
|
| size_t subrunEnd = str.find('\n', runStart);
|
| - if (subrunEnd == notFound || subrunEnd > runEnd)
|
| + if (subrunEnd == kNotFound || subrunEnd > runEnd)
|
| subrunEnd = runEnd;
|
|
|
| m_offset = subrunEnd;
|
| @@ -2321,7 +2321,7 @@ PassRefPtr<Range> TextIterator::rangeFromLocationAndLength(ContainerNode* scope,
|
|
|
| bool TextIterator::getLocationAndLengthFromRange(Node* scope, const Range* range, size_t& location, size_t& length)
|
| {
|
| - location = notFound;
|
| + location = kNotFound;
|
| length = 0;
|
|
|
| if (!range->startContainer())
|
|
|