Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: Source/core/svg/SVGUseElement.cpp

Issue 144063004: Add support for DOM4's XMLDocument interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove FIXME about XMLDocument.load() Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGDocument.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « Source/core/svg/SVGDocument.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698