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

Unified Diff: Source/core/dom/Node.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/Node.h ('k') | Source/core/dom/NodeRareData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index dc2594cf933affd9088e5736c14833686431476a..e534b8385236e9625bcaf2be98adf0f8dd8fce6c 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -108,7 +108,6 @@
#include "UIEvent.h"
#include "UIEventWithKeyState.h"
#include "UserActionElementSet.h"
-#include "WebCoreMemoryInstrumentation.h"
#include "WheelEvent.h"
#include "WindowEventContext.h"
#include "XMLNames.h"
@@ -2600,23 +2599,6 @@ void Node::removedLastRef()
delete this;
}
-void Node::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::DOM);
- ScriptWrappable::reportMemoryUsage(memoryObjectInfo);
- info.addMember(m_parentOrShadowHostNode, "parentOrShadowHostNode");
- info.addMember(m_treeScope, "treeScope");
- info.ignoreMember(m_next);
- info.ignoreMember(m_previous);
- info.addMember(this->renderer(), "renderer");
- if (hasRareData()) {
- if (isElementNode())
- info.addMember(static_cast<ElementRareData*>(rareData()), "elementRareData");
- else
- info.addMember(rareData(), "rareData");
- }
-}
-
void Node::textRects(Vector<IntRect>& rects) const
{
RefPtr<Range> range = Range::create(document());
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/dom/NodeRareData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698