Index: Source/WebCore/dom/Document.cpp |
diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp |
index aa28c385a046eb5cb7fe5ded9cbec5e29df85acf..20cbba8853e89b4cfe2a0dcc54529006eaf912cb 100644 |
--- a/Source/WebCore/dom/Document.cpp |
+++ b/Source/WebCore/dom/Document.cpp |
@@ -221,11 +221,6 @@ |
#include "MathMLNames.h" |
#endif |
-#if ENABLE(MICRODATA) |
-#include "MicroDataItemList.h" |
-#include "NodeRareData.h" |
-#endif |
- |
#if ENABLE(LINK_PRERENDER) |
#include "Prerenderer.h" |
#endif |
@@ -5601,17 +5596,6 @@ DocumentLoader* Document::loader() const |
return loader; |
} |
-#if ENABLE(MICRODATA) |
-PassRefPtr<NodeList> Document::getItems(const String& typeNames) |
-{ |
- // Since documet.getItem() is allowed for microdata, typeNames will be null string. |
- // In this case we need to create an empty string identifier to map such request in the cache. |
- String localTypeNames = typeNames.isNull() ? MicroDataItemList::undefinedItemType() : typeNames; |
- |
- return ensureRareData()->ensureNodeLists()->addCacheWithName<MicroDataItemList>(this, MicroDataItemListType, localTypeNames); |
-} |
-#endif |
- |
IntSize Document::viewportSize() const |
{ |
if (!view()) |