summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/plugins/chrome_plugin_placeholder.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-06 00:02:16 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-06 00:02:16 +0000
commit60eca4eb056d421943eba9b87d6590985565c2fb (patch)
tree653086542564cdb19099cd3cf2d6baa89cd1b025 /chrome/renderer/plugins/chrome_plugin_placeholder.cc
parent24835e9056711da23091ce0116e7ca41d1bdf279 (diff)
downloadchromium_src-60eca4eb056d421943eba9b87d6590985565c2fb.zip
chromium_src-60eca4eb056d421943eba9b87d6590985565c2fb.tar.gz
chromium_src-60eca4eb056d421943eba9b87d6590985565c2fb.tar.bz2
Move more of the plugin code in the renderer to use RenderFrame instead of RenderView.
This is part of the work of making ContentRendererClient's OverrideCreatePlugin and CreatePluginReplacement take only a RenderFrame. I'm still not there yet, which is why their signatures haven't been trimmed. BUG=304341 R=fsamuel@chromium.org, nasko@chromium.org Review URL: https://codereview.chromium.org/107183002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239075 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/plugins/chrome_plugin_placeholder.cc')
-rw-r--r--chrome/renderer/plugins/chrome_plugin_placeholder.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/renderer/plugins/chrome_plugin_placeholder.cc b/chrome/renderer/plugins/chrome_plugin_placeholder.cc
index 394d246..10ec2b4 100644
--- a/chrome/renderer/plugins/chrome_plugin_placeholder.cc
+++ b/chrome/renderer/plugins/chrome_plugin_placeholder.cc
@@ -12,6 +12,7 @@
#include "chrome/renderer/custom_menu_commands.h"
#include "chrome/renderer/plugins/plugin_uma.h"
#include "content/public/common/context_menu_params.h"
+#include "content/public/renderer/render_frame.h"
#include "content/public/renderer/render_thread.h"
#include "content/public/renderer/render_view.h"
#include "grit/generated_resources.h"
@@ -281,7 +282,7 @@ void ChromePluginPlaceholder::PluginListChanged() {
ChromeViewHostMsg_GetPluginInfo_Output output;
std::string mime_type(GetPluginParams().mimeType.utf8());
render_view()->Send(
- new ChromeViewHostMsg_GetPluginInfo(routing_id(),
+ new ChromeViewHostMsg_GetPluginInfo(GetRenderFrame()->GetRoutingID(),
GURL(GetPluginParams().url),
document.url(),
mime_type,