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

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
Index: Source/core/plugins/DOMMimeTypeArray.cpp
diff --git a/Source/core/plugins/DOMMimeTypeArray.cpp b/Source/core/plugins/DOMMimeTypeArray.cpp
index 3410fdba2384325eaf351c5cd279bb8c76a6e309..520a2d15b15c1a7a74a6afcee572d4433bb52bb0 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).get();
}
-bool DOMMimeTypeArray::canGetItemsForName(const AtomicString& propertyName)
-{
- PluginData *data = getPluginData();
- if (!data)
- return 0;
- 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();

Powered by Google App Engine
This is Rietveld 408576698