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

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

Issue 311053004: Report precise memory usage from StaticNodeList to v8 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/StaticNodeList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/StaticNodeList.h
diff --git a/Source/core/dom/StaticNodeList.h b/Source/core/dom/StaticNodeList.h
index dca6b59bfb207701e746ae6829918cb126ca97a2..62e22e8be770aa85dd08ca760496ae7ae077678b 100644
--- a/Source/core/dom/StaticNodeList.h
+++ b/Source/core/dom/StaticNodeList.h
@@ -56,10 +56,6 @@ public:
virtual void trace(Visitor*) OVERRIDE;
private:
- // If AllocationSize() is larger than this, we report it as external
- // allocated memory to V8.
- const static ptrdiff_t externalMemoryReportSizeLimit = 1024;
-
ptrdiff_t AllocationSize()
{
return m_nodes.capacity() * sizeof(RefPtrWillBeMember<Node>);
« no previous file with comments | « no previous file | Source/core/dom/StaticNodeList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698