Index: Source/core/dom/DocumentType.h |
diff --git a/Source/core/dom/DocumentType.h b/Source/core/dom/DocumentType.h |
index 6aa51fe4194c7d366c580d71375a123845043d57..7bd047a44db1f37b3abc8fb5533d0429a756ec0f 100644 |
--- a/Source/core/dom/DocumentType.h |
+++ b/Source/core/dom/DocumentType.h |
@@ -64,7 +64,7 @@ private: |
String m_subset; |
}; |
-DEFINE_NODE_TYPE_CASTS(DocumentType, nodeType() == Node::DOCUMENT_TYPE_NODE); |
+DEFINE_NODE_TYPE_CASTS(DocumentType, isDocumentTypeNode()); |
} // namespace WebCore |