Index: sky/engine/core/dom/StaticNodeList.h |
diff --git a/sky/engine/core/dom/StaticNodeList.h b/sky/engine/core/dom/StaticNodeList.h |
index 47fba8479d8f8f1fbbe4fff666dd6b256449879b..7ff1a5d50baab33c1e6b567b6627f302c88c2af1 100644 |
--- a/sky/engine/core/dom/StaticNodeList.h |
+++ b/sky/engine/core/dom/StaticNodeList.h |
@@ -33,7 +33,6 @@ |
#include "sky/engine/wtf/PassRefPtr.h" |
#include "sky/engine/wtf/RefPtr.h" |
#include "sky/engine/wtf/Vector.h" |
-#include "v8/include/v8.h" |
namespace blink { |
@@ -72,14 +71,12 @@ PassRefPtr<StaticNodeTypeList<NodeType> > StaticNodeTypeList<NodeType>::adopt(Ve |
{ |
RefPtr<StaticNodeTypeList<NodeType> > nodeList = adoptRef(new StaticNodeTypeList<NodeType>); |
nodeList->m_nodes.swap(nodes); |
- v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(nodeList->AllocationSize()); |
return nodeList.release(); |
} |
template <typename NodeType> |
StaticNodeTypeList<NodeType>::~StaticNodeTypeList() |
{ |
- v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(-AllocationSize()); |
} |
template <typename NodeType> |