Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index e238a3a068cbb4a7aa4713f7679787bcd3e037f4..46ae4f11fa46b97ef44336a20600d91b0a44a776 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -1332,7 +1332,7 @@ bool Node::isEqualNode(Node* other) const |
if (otherChild) |
return false; |
- if (nodeType == DOCUMENT_TYPE_NODE) { |
+ if (isDocumentTypeNode()) { |
const DocumentType* documentTypeThis = toDocumentType(this); |
const DocumentType* documentTypeOther = toDocumentType(other); |