| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 15272268388eef0241dba42dea94c43567d6ea78..f08ca4e1406949c5ab9a69ba4f1176c60df1eb52 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -798,7 +798,7 @@ PassRefPtr<CDATASection> Document::createCDATASection(const String& data, Except
|
| es.throwDOMException(NotSupportedError);
|
| return 0;
|
| }
|
| - if (data.find("]]>") != WTF::notFound) {
|
| + if (data.find("]]>") != WTF::kNotFound) {
|
| es.throwDOMException(InvalidCharacterError, "String cannot contain ']]>' since that is the end delimiter of a CData section.");
|
| return 0;
|
| }
|
| @@ -4959,7 +4959,7 @@ void Document::removeFromTopLayer(Element* element)
|
| if (!element->isInTopLayer())
|
| return;
|
| size_t position = m_topLayerElements.find(element);
|
| - ASSERT(position != notFound);
|
| + ASSERT(position != kNotFound);
|
| m_topLayerElements.remove(position);
|
| element->setIsInTopLayer(false);
|
| }
|
|
|