Index: Source/WebCore/html/parser/HTMLTreeBuilder.cpp |
=================================================================== |
--- Source/WebCore/html/parser/HTMLTreeBuilder.cpp (revision 103964) |
+++ Source/WebCore/html/parser/HTMLTreeBuilder.cpp (working copy) |
@@ -2313,7 +2313,7 @@ |
processEndTag(token); |
break; |
case InForeignContentMode: |
- if (m_tree.currentElement()->namespaceURI() == SVGNames::svgNamespaceURI) |
+ if (m_tree.currentNode()->namespaceURI() == SVGNames::svgNamespaceURI) |
adjustSVGTagNameCase(token); |
if (token.name() == SVGNames::scriptTag && m_tree.currentNode()->hasTagName(SVGNames::scriptTag)) { |