| Index: Source/core/html/parser/HTMLFormattingElementList.cpp
|
| diff --git a/Source/core/html/parser/HTMLFormattingElementList.cpp b/Source/core/html/parser/HTMLFormattingElementList.cpp
|
| index de76f9b0998d5d8ac3f9d2c2ef6b03a206f0d06b..34215d75e2648ad90c189a8c8450f20a15fa6e8a 100644
|
| --- a/Source/core/html/parser/HTMLFormattingElementList.cpp
|
| +++ b/Source/core/html/parser/HTMLFormattingElementList.cpp
|
| @@ -65,7 +65,7 @@ bool HTMLFormattingElementList::contains(Element* element)
|
| HTMLFormattingElementList::Entry* HTMLFormattingElementList::find(Element* element)
|
| {
|
| size_t index = m_entries.reverseFind(element);
|
| - if (index != notFound) {
|
| + if (index != kNotFound) {
|
| // This is somewhat of a hack, and is why this method can't be const.
|
| return &m_entries[index];
|
| }
|
| @@ -75,7 +75,7 @@ HTMLFormattingElementList::Entry* HTMLFormattingElementList::find(Element* eleme
|
| HTMLFormattingElementList::Bookmark HTMLFormattingElementList::bookmarkFor(Element* element)
|
| {
|
| size_t index = m_entries.reverseFind(element);
|
| - ASSERT(index != notFound);
|
| + ASSERT(index != kNotFound);
|
| return Bookmark(&at(index));
|
| }
|
|
|
| @@ -103,7 +103,7 @@ void HTMLFormattingElementList::append(PassRefPtr<HTMLStackItem> item)
|
| void HTMLFormattingElementList::remove(Element* element)
|
| {
|
| size_t index = m_entries.reverseFind(element);
|
| - if (index != notFound)
|
| + if (index != kNotFound)
|
| m_entries.remove(index);
|
| }
|
|
|
|
|