Index: Source/core/svg/SVGDocument.cpp |
diff --git a/Source/core/svg/SVGDocument.cpp b/Source/core/svg/SVGDocument.cpp |
index 876b66f645a2846f6fe2e19ffe5f106e45e52093..6f3d4ec17c35b08861e8a7d0ff1897c4689be110 100644 |
--- a/Source/core/svg/SVGDocument.cpp |
+++ b/Source/core/svg/SVGDocument.cpp |
@@ -35,7 +35,7 @@ |
namespace WebCore { |
SVGDocument::SVGDocument(const DocumentInit& initializer) |
- : Document(initializer, SVGDocumentClass) |
+ : XMLDocument(initializer, XMLDocumentClass | SVGDocumentClass) |
{ |
ScriptWrappable::init(this); |
} |