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

Unified Diff: sky/engine/core/dom/StaticNodeList.h

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/engine/core/dom/SelectorQuery.cpp ('k') | sky/engine/core/dom/Text.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « sky/engine/core/dom/SelectorQuery.cpp ('k') | sky/engine/core/dom/Text.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698