Index: Source/core/plugins/DOMPlugin.cpp |
diff --git a/Source/core/plugins/DOMPlugin.cpp b/Source/core/plugins/DOMPlugin.cpp |
index 69f998f4d9bbb25ecd7925b5a6e773d1c932e2f4..0c54f391e12d0bde9acef616574f91acff48d93e 100644 |
--- a/Source/core/plugins/DOMPlugin.cpp |
+++ b/Source/core/plugins/DOMPlugin.cpp |
@@ -75,15 +75,6 @@ PassRefPtrWillBeRawPtr<DOMMimeType> DOMPlugin::item(unsigned index) |
return nullptr; |
} |
-bool DOMPlugin::canGetItemsForName(const AtomicString& propertyName) |
-{ |
- const Vector<MimeClassInfo>& mimes = m_pluginData->mimes(); |
- for (unsigned i = 0; i < mimes.size(); ++i) |
- if (mimes[i].type == propertyName) |
- return true; |
- return false; |
-} |
- |
PassRefPtrWillBeRawPtr<DOMMimeType> DOMPlugin::namedItem(const AtomicString& propertyName) |
{ |
const Vector<MimeClassInfo>& mimes = m_pluginData->mimes(); |