Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index d1e26bbd0596610740e339b76fb92f06ee9ee953..54f72b83b35fc28cfcb86b93a920908b0e11571e 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -206,6 +206,7 @@ enum DocumentClass { |
PluginDocumentClass = 1 << 3, |
MediaDocumentClass = 1 << 4, |
SVGDocumentClass = 1 << 5, |
+ XMLDocumentClass = 1 << 6, |
}; |
typedef unsigned char DocumentClassFlags; |
@@ -217,10 +218,6 @@ public: |
{ |
return adoptRef(new Document(initializer)); |
} |
- static PassRefPtr<Document> createXHTML(const DocumentInit& initializer = DocumentInit()) |
- { |
- return adoptRef(new Document(initializer, XHTMLDocumentClass)); |
- } |
virtual ~Document(); |
MediaQueryMatcher& mediaQueryMatcher(); |
@@ -383,6 +380,7 @@ public: |
bool isHTMLDocument() const { return m_documentClasses & HTMLDocumentClass; } |
bool isXHTMLDocument() const { return m_documentClasses & XHTMLDocumentClass; } |
+ bool isXMLDocument() const { return m_documentClasses & XMLDocumentClass; } |
bool isImageDocument() const { return m_documentClasses & ImageDocumentClass; } |
bool isSVGDocument() const { return m_documentClasses & SVGDocumentClass; } |
bool isPluginDocument() const { return m_documentClasses & PluginDocumentClass; } |