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

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
« no previous file with comments | « Source/core/plugins/DOMPlugin.h ('k') | Source/core/plugins/DOMPluginArray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/core/plugins/DOMPlugin.h ('k') | Source/core/plugins/DOMPluginArray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698