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

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

Powered by Google App Engine
This is Rietveld 408576698