Index: Source/core/dom/DocumentFragment.h |
diff --git a/Source/core/dom/DocumentFragment.h b/Source/core/dom/DocumentFragment.h |
index 8a2b4aa35654b03292242cbab4caf843eb1dd6c7..a4292d41c1a1b82d1b66665bff96705c01b4b1b9 100644 |
--- a/Source/core/dom/DocumentFragment.h |
+++ b/Source/core/dom/DocumentFragment.h |
@@ -51,7 +51,7 @@ private: |
virtual bool childTypeAllowed(NodeType) const OVERRIDE; |
}; |
-DEFINE_NODE_TYPE_CASTS(DocumentFragment, nodeType() == Node::DOCUMENT_FRAGMENT_NODE); |
+DEFINE_NODE_TYPE_CASTS(DocumentFragment, isDocumentFragment()); |
} // namespace WebCore |