Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/StaticNodeList.h |
| diff --git a/third_party/WebKit/Source/core/dom/StaticNodeList.h b/third_party/WebKit/Source/core/dom/StaticNodeList.h |
| index a1bebef8ce823ce2461f7379320c41b7e52614a6..ef440c9c92fd5aef3a6d073fb272e425fb879d85 100644 |
| --- a/third_party/WebKit/Source/core/dom/StaticNodeList.h |
| +++ b/third_party/WebKit/Source/core/dom/StaticNodeList.h |
| @@ -74,14 +74,12 @@ PassRefPtrWillBeRawPtr<StaticNodeTypeList<NodeType>> StaticNodeTypeList<NodeType |
| { |
| RefPtrWillBeRawPtr<StaticNodeTypeList<NodeType>> nodeList = adoptRefWillBeNoop(new StaticNodeTypeList<NodeType>); |
| nodeList->m_nodes.swap(nodes); |
| - v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(nodeList->AllocationSize()); |
|
haraken
2016/02/04 12:00:29
Can we remove the AllocationSize method from Stati
peria
2016/02/08 08:41:10
Done.
|
| return nodeList.release(); |
| } |
| template <typename NodeType> |
| StaticNodeTypeList<NodeType>::~StaticNodeTypeList() |
| { |
| - v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(-AllocationSize()); |
| } |
| template <typename NodeType> |