Index: Source/core/html/HTMLViewSourceDocument.cpp |
diff --git a/Source/core/html/HTMLViewSourceDocument.cpp b/Source/core/html/HTMLViewSourceDocument.cpp |
index b47a8b89b7974f646cf4dfbb40be1249cb888f0f..395af051de8996ab456cf82575d7642de853960b 100644 |
--- a/Source/core/html/HTMLViewSourceDocument.cpp |
+++ b/Source/core/html/HTMLViewSourceDocument.cpp |
@@ -216,7 +216,7 @@ void HTMLViewSourceDocument::addLine(const AtomicString& className) |
void HTMLViewSourceDocument::finishLine() |
{ |
- if (!m_current->hasChildNodes()) { |
+ if (!m_current->hasChildren()) { |
RefPtr<HTMLBRElement> br = HTMLBRElement::create(*this); |
m_current->parserAppendChild(br); |
} |