| Index: Source/core/svg/SVGUseElement.cpp
|
| diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp
|
| index 40c4cdcf3dfd8d757ce094140b7ea74c1edaba16..1a17c41abc0ec3be288b462318d72387e14edd47 100644
|
| --- a/Source/core/svg/SVGUseElement.cpp
|
| +++ b/Source/core/svg/SVGUseElement.cpp
|
| @@ -150,7 +150,7 @@ void SVGUseElement::parseAttribute(const QualifiedName& name, const AtomicString
|
| #if !ASSERT_DISABLED
|
| static inline bool isWellFormedDocument(Document* document)
|
| {
|
| - if (document->isSVGDocument() || document->isXHTMLDocument())
|
| + if (document->isXMLDocument())
|
| return static_cast<XMLDocumentParser*>(document->parser())->wellFormed();
|
| return true;
|
| }
|
|
|