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

Unified Diff: Source/core/plugins/DOMMimeTypeArray.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/DOMMimeTypeArray.h ('k') | Source/core/plugins/DOMPlugin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/plugins/DOMMimeTypeArray.cpp
diff --git a/Source/core/plugins/DOMMimeTypeArray.cpp b/Source/core/plugins/DOMMimeTypeArray.cpp
index 32904c922aea436dd54f8853d8982d2a1062eaa9..1652012cae41c7269621ce9d42d5b1dbae59ec18 100644
--- a/Source/core/plugins/DOMMimeTypeArray.cpp
+++ b/Source/core/plugins/DOMMimeTypeArray.cpp
@@ -57,19 +57,6 @@ PassRefPtrWillBeRawPtr<DOMMimeType> DOMMimeTypeArray::item(unsigned index)
return DOMMimeType::create(data, m_frame, index);
}
-bool DOMMimeTypeArray::canGetItemsForName(const AtomicString& propertyName)
-{
- PluginData *data = getPluginData();
- if (!data)
- return false;
- const Vector<MimeClassInfo>& mimes = data->mimes();
- for (unsigned i = 0; i < mimes.size(); ++i) {
- if (mimes[i].type == propertyName)
- return true;
- }
- return false;
-}
-
PassRefPtrWillBeRawPtr<DOMMimeType> DOMMimeTypeArray::namedItem(const AtomicString& propertyName)
{
PluginData *data = getPluginData();
« no previous file with comments | « Source/core/plugins/DOMMimeTypeArray.h ('k') | Source/core/plugins/DOMPlugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698