Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index 01ae9325a1eb9fa08db8dd0a440df59da12e4018..557103e8988fbcec3e3ac068df124686c2efdb2e 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -752,25 +752,7 @@ protected: |
CreateEditingText = CreateText | HasNameOrIsEditingTextFlag, |
}; |
- Node(TreeScope* treeScope, ConstructionType type) |
- : m_nodeFlags(type) |
- , m_parentOrShadowHostNode(nullptr) |
- , m_treeScope(treeScope) |
- , m_previous(nullptr) |
- , m_next(nullptr) |
- { |
- ASSERT(m_treeScope || type == CreateDocument || type == CreateShadowRoot); |
- ScriptWrappable::init(this); |
-#if !ENABLE(OILPAN) |
- if (m_treeScope) |
- m_treeScope->guardRef(); |
-#endif |
- |
-#if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS) |
- trackForDebugging(); |
-#endif |
- InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); |
- } |
+ Node(TreeScope*, ConstructionType); |
virtual void didMoveToNewDocument(Document& oldDocument); |