Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1430)

Unified Diff: Source/core/plugins/DOMPlugin.cpp

Issue 928103002: Remove some unused functions in core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: git cl try Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/plugins/DOMPlugin.cpp
diff --git a/Source/core/plugins/DOMPlugin.cpp b/Source/core/plugins/DOMPlugin.cpp
index ebaff997579d9e75c6e61779e33c61126ccc059a..b472b26e7edee09ccf878a80e5a1fb147fced0eb 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();

Powered by Google App Engine
This is Rietveld 408576698