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); |
} |