Index: chrome/renderer/chrome_content_renderer_client.cc |
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc |
index bbd8208a5bd5a4b4b7703ebcdf35de9fdb91784f..06a75ea5c26468d88fb1b2ac21a5d73c43d89776 100644 |
--- a/chrome/renderer/chrome_content_renderer_client.cc |
+++ b/chrome/renderer/chrome_content_renderer_client.cc |
@@ -307,11 +307,10 @@ bool ChromeContentRendererClient::OverrideCreatePlugin( |
const WebPluginParams& params, |
WebPlugin** plugin) { |
std::string orig_mime_type = params.mimeType.utf8(); |
- if (orig_mime_type == content::kBrowserPluginNewMimeType || |
- ((orig_mime_type == content::kBrowserPluginMimeType) && |
- extensions::ExtensionHelper::Get(render_view)->view_type() == |
- VIEW_TYPE_APP_SHELL)) { |
- return false; |
+ if (orig_mime_type == content::kBrowserPluginMimeType && |
+ extensions::ExtensionHelper::Get(render_view)->view_type() == |
+ VIEW_TYPE_APP_SHELL) { |
+ return false; |
} |
ChromeViewHostMsg_GetPluginInfo_Output output; |