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

Unified Diff: third_party/WebKit/Source/core/dom/ElementData.cpp

Issue 1845543002: Rename Heap to ThreadHeap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/dom/ElementData.cpp
diff --git a/third_party/WebKit/Source/core/dom/ElementData.cpp b/third_party/WebKit/Source/core/dom/ElementData.cpp
index 923a5bd01fc6ccc6deef14c18d4ec09b1d893a12..ccae12f2e71e5d7a0273acc462aeff5b29a80a08 100644
--- a/third_party/WebKit/Source/core/dom/ElementData.cpp
+++ b/third_party/WebKit/Source/core/dom/ElementData.cpp
@@ -163,7 +163,7 @@ ShareableElementData::ShareableElementData(const UniqueElementData& other)
ShareableElementData* ShareableElementData::createWithAttributes(const Vector<Attribute>& attributes)
{
- void* slot = Heap::allocate<ElementData>(sizeForShareableElementDataWithAttributeCount(attributes.size()));
+ void* slot = ThreadHeap::allocate<ElementData>(sizeForShareableElementDataWithAttributeCount(attributes.size()));
return new (slot) ShareableElementData(attributes);
}
@@ -199,7 +199,7 @@ UniqueElementData* UniqueElementData::create()
ShareableElementData* UniqueElementData::makeShareableCopy() const
{
- void* slot = Heap::allocate<ElementData>(sizeForShareableElementDataWithAttributeCount(m_attributeVector.size()));
+ void* slot = ThreadHeap::allocate<ElementData>(sizeForShareableElementDataWithAttributeCount(m_attributeVector.size()));
return new (slot) ShareableElementData(*this);
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/ElementData.h ('k') | third_party/WebKit/Source/core/dom/IntersectionObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698