Index: Source/WebCore/dom/NodeRareData.h |
diff --git a/Source/WebCore/dom/NodeRareData.h b/Source/WebCore/dom/NodeRareData.h |
index c4f61869a73c6fbb9bf5df13bdd18285f18cd7a3..8dffb1b4ac4d3c59bd319a7c95f6d33db7154d40 100644 |
--- a/Source/WebCore/dom/NodeRareData.h |
+++ b/Source/WebCore/dom/NodeRareData.h |
@@ -40,12 +40,6 @@ |
#include <wtf/text/AtomicString.h> |
#include <wtf/text/StringHash.h> |
-#if ENABLE(MICRODATA) |
-#include "HTMLPropertiesCollection.h" |
-#include "MicroDataAttributeTokenList.h" |
-#include "MicroDataItemList.h" |
-#endif |
- |
namespace WebCore { |
class LabelsNodeList; |
@@ -256,42 +250,6 @@ private: |
NodeMutationObserverData() { } |
}; |
-#if ENABLE(MICRODATA) |
-class NodeMicroDataTokenLists { |
- WTF_MAKE_NONCOPYABLE(NodeMicroDataTokenLists); WTF_MAKE_FAST_ALLOCATED; |
-public: |
- static PassOwnPtr<NodeMicroDataTokenLists> create() { return adoptPtr(new NodeMicroDataTokenLists); } |
- |
- MicroDataAttributeTokenList* itemProp(Node* node) const |
- { |
- if (!m_itemProp) |
- m_itemProp = MicroDataAttributeTokenList::create(toElement(node), HTMLNames::itempropAttr); |
- return m_itemProp.get(); |
- } |
- |
- MicroDataAttributeTokenList* itemRef(Node* node) const |
- { |
- if (!m_itemRef) |
- m_itemRef = MicroDataAttributeTokenList::create(toElement(node), HTMLNames::itemrefAttr); |
- return m_itemRef.get(); |
- } |
- |
- MicroDataAttributeTokenList* itemType(Node* node) const |
- { |
- if (!m_itemType) |
- m_itemType = MicroDataAttributeTokenList::create(toElement(node), HTMLNames::itemtypeAttr); |
- return m_itemType.get(); |
- } |
- |
-private: |
- NodeMicroDataTokenLists() { } |
- |
- mutable RefPtr<MicroDataAttributeTokenList> m_itemProp; |
- mutable RefPtr<MicroDataAttributeTokenList> m_itemRef; |
- mutable RefPtr<MicroDataAttributeTokenList> m_itemType; |
-}; |
-#endif |
- |
class NodeRareData : public NodeRareDataBase { |
WTF_MAKE_NONCOPYABLE(NodeRareData); WTF_MAKE_FAST_ALLOCATED; |
public: |
@@ -314,15 +272,6 @@ public: |
return m_mutationObserverData.get(); |
} |
-#if ENABLE(MICRODATA) |
- NodeMicroDataTokenLists* ensureMicroDataTokenLists() const |
- { |
- if (!m_microDataTokenLists) |
- m_microDataTokenLists = NodeMicroDataTokenLists::create(); |
- return m_microDataTokenLists.get(); |
- } |
-#endif |
- |
unsigned connectedSubframeCount() const { return m_connectedFrameCount; } |
void incrementConnectedSubframeCount(unsigned amount) |
{ |
@@ -349,10 +298,6 @@ private: |
OwnPtr<NodeListsNodeData> m_nodeLists; |
OwnPtr<NodeMutationObserverData> m_mutationObserverData; |
- |
-#if ENABLE(MICRODATA) |
- mutable OwnPtr<NodeMicroDataTokenLists> m_microDataTokenLists; |
-#endif |
}; |
inline bool NodeListsNodeData::deleteThisAndUpdateNodeRareDataIfAboutToRemoveLastList(Node* ownerNode) |