| 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 86a7f2e068917c9343f1439a695ef11a66d712cb..2840f9a5f757cea6ce333885d0d24fe76354eb4d 100644
|
| --- a/third_party/WebKit/Source/core/dom/ElementData.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ElementData.cpp
|
| @@ -164,7 +164,7 @@ ShareableElementData::ShareableElementData(const UniqueElementData& other)
|
| PassRefPtrWillBeRawPtr<ShareableElementData> ShareableElementData::createWithAttributes(const Vector<Attribute>& attributes)
|
| {
|
| #if ENABLE(OILPAN)
|
| - void* slot = Heap::allocate<ElementData>(sizeForShareableElementDataWithAttributeCount(attributes.size()));
|
| + void* slot = ThreadHeap::allocate<ElementData>(sizeForShareableElementDataWithAttributeCount(attributes.size()));
|
| #else
|
| void* slot = WTF::Partitions::fastMalloc(sizeForShareableElementDataWithAttributeCount(attributes.size()), WTF_HEAP_PROFILER_TYPE_NAME(ShareableElementData));
|
| #endif
|
| @@ -204,7 +204,7 @@ PassRefPtrWillBeRawPtr<UniqueElementData> UniqueElementData::create()
|
| PassRefPtrWillBeRawPtr<ShareableElementData> UniqueElementData::makeShareableCopy() const
|
| {
|
| #if ENABLE(OILPAN)
|
| - void* slot = Heap::allocate<ElementData>(sizeForShareableElementDataWithAttributeCount(m_attributeVector.size()));
|
| + void* slot = ThreadHeap::allocate<ElementData>(sizeForShareableElementDataWithAttributeCount(m_attributeVector.size()));
|
| #else
|
| void* slot = WTF::Partitions::fastMalloc(sizeForShareableElementDataWithAttributeCount(m_attributeVector.size()), WTF_HEAP_PROFILER_TYPE_NAME(ShareableElementData));
|
| #endif
|
|
|