Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index e4ee832d5c05e5166cda0e4ad55d8d380f48d924..dc16929e6d616c155413c64671c28246c90db659 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -108,7 +108,6 @@ |
#include "content/renderer/mojo_bindings_controller.h" |
#include "content/renderer/navigation_state_impl.h" |
#include "content/renderer/notification_permission_dispatcher.h" |
-#include "content/renderer/npapi/plugin_channel_host.h" |
#include "content/renderer/pepper/plugin_instance_throttler_impl.h" |
#include "content/renderer/presentation/presentation_dispatcher.h" |
#include "content/renderer/push_messaging/push_messaging_dispatcher.h" |
@@ -186,7 +185,6 @@ |
#include "url/url_util.h" |
#if defined(ENABLE_PLUGINS) |
-#include "content/renderer/npapi/webplugin_impl.h" |
#include "content/renderer/pepper/pepper_browser_connection.h" |
#include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
#include "content/renderer/pepper/pepper_webplugin_impl.h" |
@@ -2258,11 +2256,6 @@ blink::WebPlugin* RenderFrameImpl::CreatePlugin( |
} |
#if defined(OS_CHROMEOS) |
LOG(WARNING) << "Pepper module/plugin creation failed."; |
-#else |
- if (info.type == WebPluginInfo::PLUGIN_TYPE_NPAPI) { |
- // TODO(jam): change to take RenderFrame. |
- return new WebPluginImpl(frame, params, info.path, render_view_, this); |
- } |
#endif |
#endif |
return NULL; |