Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(701)

Unified Diff: Source/core/dom/Node.h

Issue 309613006: Un-inline Node's constructor to avoid bloating (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698