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

Unified Diff: Source/core/html/HTMLPlugInImageElement.cpp

Issue 21929002: Remove unused, unimplemented and no-op methods from MIMETypeRegistry. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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/html/HTMLMediaElement.cpp ('k') | Source/core/platform/MIMETypeRegistry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLPlugInImageElement.cpp
diff --git a/Source/core/html/HTMLPlugInImageElement.cpp b/Source/core/html/HTMLPlugInImageElement.cpp
index ff2ee7c6cf6b1d3ea3e9df6955c003d6cf14789e..b1ed56dd00410e8456aca2499dace407cf11c5e3 100644
--- a/Source/core/html/HTMLPlugInImageElement.cpp
+++ b/Source/core/html/HTMLPlugInImageElement.cpp
@@ -244,10 +244,7 @@ bool HTMLPlugInImageElement::loadPlugin(const KURL& url, const String& mimeType,
{
Frame* frame = document()->frame();
- // Application plug-ins are plug-ins implemented by the user agent, for example Qt plug-ins,
- // as opposed to third-party code such as Flash. The user agent decides whether or not they are
- // permitted, rather than WebKit.
- if (!frame->loader()->allowPlugins(AboutToInstantiatePlugin) && !MIMETypeRegistry::isApplicationPluginMIMEType(mimeType))
+ if (!frame->loader()->allowPlugins(AboutToInstantiatePlugin))
return false;
if (!pluginIsLoadable(url, mimeType))
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/core/platform/MIMETypeRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698