| Index: third_party/WebKit/Source/web/WebFrameSerializerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrameSerializerImpl.cpp b/third_party/WebKit/Source/web/WebFrameSerializerImpl.cpp
|
| index adace6ffb25b63fa544ef6fc694a47ed6675a691..1dec6c68612ffdd151df330aa0c7487549c95cf1 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameSerializerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameSerializerImpl.cpp
|
| @@ -385,7 +385,7 @@ void WebFrameSerializerImpl::endTagToString(Element* element,
|
| result.append('>');
|
| // FIXME: This code is horribly wrong. WebFrameSerializerImpl must die.
|
| if (!element->isHTMLElement() ||
|
| - !toHTMLElement(element)->ieForbidsInsertHTML()) {
|
| + toHTMLElement(element)->shouldSerializeEndTag()) {
|
| // We need to write end tag when it is required.
|
| result.append("</");
|
| result.append(element->nodeName().lower());
|
|
|