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

Unified Diff: Source/core/dom/ContainerNode.cpp

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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 | « Source/core/dom/ContainerNode.h ('k') | Source/core/dom/ContextDestructionObserver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ContainerNode.cpp
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp
index fb2a9bce3f78a7e60dd2554e7240e1a321a4e42a..f3ab51f8f82b65c50a2dbc9d65b5c1a0974191d0 100644
--- a/Source/core/dom/ContainerNode.cpp
+++ b/Source/core/dom/ContainerNode.cpp
@@ -877,20 +877,6 @@ Node *ContainerNode::childNode(unsigned index) const
return n;
}
-void ContainerNode::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::DOM);
- Node::reportMemoryUsage(memoryObjectInfo);
- info.ignoreMember(m_firstChild);
- info.ignoreMember(m_lastChild);
-
- // Report child nodes as direct members to make them look like a tree in the snapshot.
- NodeVector children;
- getChildNodes(const_cast<ContainerNode*>(this), children);
- for (size_t i = 0; i < children.size(); ++i)
- info.addMember(children[i], "child");
-}
-
static void dispatchChildInsertionEvents(Node* child)
{
if (child->isInShadowTree())
« no previous file with comments | « Source/core/dom/ContainerNode.h ('k') | Source/core/dom/ContextDestructionObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698