summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLViewSourceDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLViewSourceDocument.cpp')
-rw-r--r--WebCore/html/HTMLViewSourceDocument.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/html/HTMLViewSourceDocument.cpp b/WebCore/html/HTMLViewSourceDocument.cpp
index f7217eb..27eaf51 100644
--- a/WebCore/html/HTMLViewSourceDocument.cpp
+++ b/WebCore/html/HTMLViewSourceDocument.cpp
@@ -277,7 +277,7 @@ int HTMLViewSourceDocument::addRange(const String& source, int start, int end, c
}
addText(text, className);
if (!className.isEmpty() && m_current != m_tbody)
- m_current = static_cast<Element*>(m_current->parent());
+ m_current = static_cast<Element*>(m_current->parentNode());
return end;
}