Index: content/renderer/render_view_impl.cc |
=================================================================== |
--- content/renderer/render_view_impl.cc (revision 134628) |
+++ content/renderer/render_view_impl.cc (working copy) |
@@ -2135,17 +2135,6 @@ |
return CreatePlugin(frame, info, params_to_use); |
} |
-WebPlugin* RenderViewImpl::createPluginReplacement( |
- WebFrame* frame, |
- const WebPluginParams& params) { |
- webkit::WebPluginInfo info; |
- std::string mime_type; |
- GetPluginInfo(params.url, frame->top()->document().url(), |
- params.mimeType.utf8(), &info, &mime_type); |
- return content::GetContentClient()->renderer()->CreatePluginReplacement( |
- this, info.path); |
-} |
- |
WebSharedWorker* RenderViewImpl::createSharedWorker( |
WebFrame* frame, const WebURL& url, const WebString& name, |
unsigned long long document_id) { |
@@ -3682,12 +3671,6 @@ |
return new WebPluginDelegateProxy(mime_type, AsWeakPtr()); |
} |
-WebKit::WebPlugin* RenderViewImpl::CreatePluginReplacement( |
- const FilePath& file_path) { |
- return content::GetContentClient()->renderer()->CreatePluginReplacement( |
- this, file_path); |
-} |
- |
void RenderViewImpl::CreatedPluginWindow(gfx::PluginWindowHandle window) { |
#if defined(USE_X11) |
Send(new ViewHostMsg_CreatePluginContainer(routing_id(), window)); |