| Index: Source/core/inspector/DOMPatchSupport.cpp
|
| diff --git a/Source/core/inspector/DOMPatchSupport.cpp b/Source/core/inspector/DOMPatchSupport.cpp
|
| index 7f9867888db9ce8d5ad785ad5b346b8f97f5a7b7..5fed80547ac201cecd99c06ec19d12cd2ff2d32e 100644
|
| --- a/Source/core/inspector/DOMPatchSupport.cpp
|
| +++ b/Source/core/inspector/DOMPatchSupport.cpp
|
| @@ -144,9 +144,9 @@ Node* DOMPatchSupport::patchNode(Node* node, const String& markup, ExceptionStat
|
| for (Node* child = parentNode->firstChild(); child != node; child = child->nextSibling())
|
| newList.append(createDigest(child, 0));
|
| for (Node* child = fragment->firstChild(); child; child = child->nextSibling()) {
|
| - if (child->hasTagName(headTag) && !child->firstChild() && markupCopy.find("</head>") == notFound)
|
| + if (child->hasTagName(headTag) && !child->firstChild() && markupCopy.find("</head>") == kNotFound)
|
| continue; // HTML5 parser inserts empty <head> tag whenever it parses <body>
|
| - if (child->hasTagName(bodyTag) && !child->firstChild() && markupCopy.find("</body>") == notFound)
|
| + if (child->hasTagName(bodyTag) && !child->firstChild() && markupCopy.find("</body>") == kNotFound)
|
| continue; // HTML5 parser inserts empty <body> tag whenever it parses </head>
|
| newList.append(createDigest(child, &m_unusedNodesMap));
|
| }
|
|
|