Index: Source/core/dom/DocumentFragment.h |
diff --git a/Source/core/dom/DocumentFragment.h b/Source/core/dom/DocumentFragment.h |
index 477222f26d5f6fa66f658b364030e245d669dab7..a87795ed3c036272d78064efba9a2ae876366ab1 100644 |
--- a/Source/core/dom/DocumentFragment.h |
+++ b/Source/core/dom/DocumentFragment.h |
@@ -47,6 +47,8 @@ private: |
virtual NodeType nodeType() const OVERRIDE FINAL; |
virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = true) OVERRIDE; |
virtual bool childTypeAllowed(NodeType) const OVERRIDE; |
+ |
+ bool isDocumentFragment() const WTF_DELETED_FUNCTION; // Hide to catch useless calls. |
}; |
DEFINE_NODE_TYPE_CASTS(DocumentFragment, isDocumentFragment()); |