| Index: Source/core/dom/XMLDocument.h
|
| diff --git a/Source/core/dom/XMLDocument.h b/Source/core/dom/XMLDocument.h
|
| index b65b19ca4252db5e31af60a994e778762187b971..62c2fc874e1217c8e8e0cd58d2ea9ed502339e2b 100644
|
| --- a/Source/core/dom/XMLDocument.h
|
| +++ b/Source/core/dom/XMLDocument.h
|
| @@ -31,7 +31,7 @@
|
|
|
| namespace WebCore {
|
|
|
| -class XMLDocument : public Document {
|
| +class XMLDocument FINAL : public Document {
|
| public:
|
| static PassRefPtr<XMLDocument> create(const DocumentInit& initializer = DocumentInit())
|
| {
|
| @@ -43,6 +43,11 @@ public:
|
| return adoptRef(new XMLDocument(initializer, XMLDocumentClass | XHTMLDocumentClass));
|
| }
|
|
|
| + static PassRefPtr<XMLDocument> createSVG(const DocumentInit& initializer = DocumentInit())
|
| + {
|
| + return adoptRef(new XMLDocument(initializer, XMLDocumentClass | SVGDocumentClass));
|
| + }
|
| +
|
| protected:
|
| XMLDocument(const DocumentInit&, DocumentClassFlags documentClasses);
|
| };
|
|
|