Home
last modified time | relevance | path

Searched refs:ShareableElementData (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/dom/
DElementData.cpp50 return sizeof(ShareableElementData) + sizeof(Attribute) * count; in sizeForShareableElementDataWithAttributeCount()
88 delete static_cast<ShareableElementData*>(this); in destroy()
95 return adoptRef(new UniqueElementData(static_cast<const ShareableElementData&>(*this))); in makeUniqueCopy()
152 ShareableElementData::ShareableElementData(const Vector<Attribute>& attributes) in ShareableElementData() function in WebCore::ShareableElementData
159 ShareableElementData::~ShareableElementData() in ~ShareableElementData()
165 ShareableElementData::ShareableElementData(const UniqueElementData& other) in ShareableElementData() function in WebCore::ShareableElementData
178 PassRefPtr<ShareableElementData> ShareableElementData::createWithAttributes(const Vector<Attribute>… in createWithAttributes()
181 return adoptRef(new (slot) ShareableElementData(attributes)); in createWithAttributes()
196 UniqueElementData::UniqueElementData(const ShareableElementData& other) in UniqueElementData()
214 PassRefPtr<ShareableElementData> UniqueElementData::makeShareableCopy() const in makeShareableCopy()
[all …]
DElementData.h42 class ShareableElementData; variable
122 friend class ShareableElementData; variable
144 class ShareableElementData FINAL : public ElementData {
146 static PassRefPtr<ShareableElementData> createWithAttributes(const Vector<Attribute>&);
148 explicit ShareableElementData(const Vector<Attribute>&);
149 explicit ShareableElementData(const UniqueElementData&);
150 ~ShareableElementData();
168 PassRefPtr<ShareableElementData> makeShareableCopy() const;
178 explicit UniqueElementData(const ShareableElementData&);
222 return static_cast<const ShareableElementData*>(this)->m_attributeArray; in attributeBase()
[all …]
DElementDataCache.cpp39 inline bool hasSameAttributes(const Vector<Attribute>& attributes, ShareableElementData& elementDat… in hasSameAttributes()
46 PassRefPtr<ShareableElementData> ElementDataCache::cachedShareableElementDataWithAttributes(const V… in cachedShareableElementDataWithAttributes()
54 return ShareableElementData::createWithAttributes(attributes); in cachedShareableElementDataWithAttributes()
57 it->value = ShareableElementData::createWithAttributes(attributes); in cachedShareableElementDataWithAttributes()
DElementDataCache.h40 class ShareableElementData; variable
48 …PassRefPtr<ShareableElementData> cachedShareableElementDataWithAttributes(const Vector<Attribute>&…
53 … typedef HashMap<unsigned, RefPtr<ShareableElementData>, AlreadyHashed> ShareableElementDataCache;
DElement.cpp1149 m_elementData = ShareableElementData::createWithAttributes(attributeVector); in parserSetAttributes()
3099 m_elementData = static_cast<ShareableElementData*>(m_elementData.get())->makeUniqueCopy(); in createUniqueElementData()